mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 23:06:14 +00:00
vim-patch:7.4.1546
Problem: Sticky type checking is more annoying than useful.
Solution: Remove the error for changing a variable type.
f6f32c38bf
Note: There are a bunch of other changes to eval.txt that I believe are
N/A and not related to this patch.
This commit is contained in:
9
src/nvim/testdir/test_assign.vim
Normal file
9
src/nvim/testdir/test_assign.vim
Normal file
@@ -0,0 +1,9 @@
|
||||
" Test for assignment
|
||||
|
||||
func Test_no_type_checking()
|
||||
let v = 1
|
||||
let v = [1,2,3]
|
||||
let v = {'a':1, 'b':2}
|
||||
let v = 3.4
|
||||
let v = 'hello'
|
||||
endfunc
|
Reference in New Issue
Block a user