0
0
mirror of https://github.com/vim/vim.git synced 2025-09-30 04:44:14 -04:00

patch 8.2.0714: Vim9: handling constant expression does not scale

Problem:    Vim9: handling constant expression does not scale.
Solution:   Use another solution, passint typval_T.
This commit is contained in:
Bram Moolenaar
2020-05-07 22:19:01 +02:00
parent 2cfb4a2a72
commit f0eefce93b
3 changed files with 165 additions and 61 deletions

View File

@@ -485,9 +485,8 @@ def Test_expr5()
assert_equal(-6, g:alsoint - g:anint)
assert_equal('hello', 'hel' .. 'lo')
" TODO: a line break here doesn't work
" assert_equal('hello 123', 'hello ' ..
" 123)
assert_equal('hello 123', 'hello ' ..
123)
assert_equal('hello 123', 'hello ' .. 123)
assert_equal('123 hello', 123 .. ' hello')
assert_equal('123456', 123 .. 456)