mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -04:00
patch 8.2.0730: Vim9: Assignment to dict member does not work
Problem: Vim9: Assignment to dict member does not work. Solution: Parse dict assignment. Implement getting dict member.
This commit is contained in:
@@ -644,9 +644,9 @@ func Test_expr6_fails()
|
||||
call CheckDefFailure(["let x = #{one: 1} / #{two: 2}"], 'E1036:')
|
||||
call CheckDefFailure(["let x = #{one: 1} % #{two: 2}"], 'E1035:')
|
||||
|
||||
call CheckDefFailure(["let x = 0xff[1]"], 'E714:')
|
||||
call CheckDefFailure(["let x = 0xff[1]"], 'E1090:')
|
||||
if has('float')
|
||||
call CheckDefFailure(["let x = 0.7[1]"], 'E714:')
|
||||
call CheckDefFailure(["let x = 0.7[1]"], 'E1090:')
|
||||
endif
|
||||
endfunc
|
||||
|
||||
|
Reference in New Issue
Block a user