mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.2.1853: "to_f" is recognized at "topleft" modifier
Problem: "to_f" is recognized at "topleft" modifier. Solution: Do not recognize modifer when "_" follows. (closes #7019)
This commit is contained in:
@@ -454,7 +454,6 @@ def Test_assignment_local()
|
||||
enddef
|
||||
|
||||
def Test_assignment_default()
|
||||
|
||||
# Test default values.
|
||||
var thebool: bool
|
||||
assert_equal(v:false, thebool)
|
||||
@@ -571,6 +570,10 @@ def Test_assignment_vim9script()
|
||||
assert_equal(43, w)
|
||||
var t: number = 44
|
||||
assert_equal(44, t)
|
||||
|
||||
var to_var = 0
|
||||
to_var = 3
|
||||
assert_equal(3, to_var)
|
||||
END
|
||||
CheckScriptSuccess(lines)
|
||||
|
||||
|
Reference in New Issue
Block a user