mirror of
https://github.com/vim/vim.git
synced 2025-11-13 22:54:27 -05:00
Problem: Sticky type checking is more annoying than useful. Solution: Remove the error for changing a variable type.
10 lines
149 B
VimL
10 lines
149 B
VimL
" 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
|