0
0
mirror of https://github.com/vim/vim.git synced 2025-11-13 22:54:27 -05:00
Files
vim/src/testdir/test_assign.vim
Bram Moolenaar f6f32c38bf patch 7.4.1546
Problem:    Sticky type checking is more annoying than useful.
Solution:   Remove the error for changing a variable type.
2016-03-12 19:03:59 +01:00

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