forked from aniani/vim
patch 8.2.4972: Vim9: compilation fails when using dict member when skipping
Problem: Vim9: compilation fails when using dict member when skipping. Solution: Do not generate ISN_USEDICT when skipping. (closes #10433)
This commit is contained in:
@@ -452,6 +452,12 @@ def Test_expr3()
|
||||
g:vals = []
|
||||
assert_equal(false, g:Record(1) && g:Record(true) && g:Record(0))
|
||||
assert_equal([1, true, 0], g:vals)
|
||||
|
||||
var failed = false
|
||||
if false && g:a == g:b.c
|
||||
failed = true
|
||||
endif
|
||||
assert_false(failed)
|
||||
END
|
||||
v9.CheckDefAndScriptSuccess(lines)
|
||||
enddef
|
||||
|
Reference in New Issue
Block a user