view src/testdir/test_assign.vim @ 9982:e24aa20d815c v7.4.2264

commit https://github.com/vim/vim/commit/2b529bb6260b52246e92429375d995b9b5ce76b6 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 27 13:35:35 2016 +0200 patch 7.4.2264 Problem: When adding entries to an empty quickfix list the title is reset. Solution: Improve handling of the title. (Yegappan Lakshmanan)
author Christian Brabandt <cb@256bit.org>
date Sat, 27 Aug 2016 13:45:05 +0200
parents 5104f96b6ecf
children 4dea7c96fc82
line wrap: on
line source

" 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