diff options
author | uhziel <uhziel@gmail.com> | 2020-12-09 19:29:45 +0800 |
---|---|---|
committer | uhziel <uhziel@gmail.com> | 2020-12-09 19:29:45 +0800 |
commit | ee244313a7adaedf40fb83d79595f42b5c054a9c (patch) | |
tree | aeebeda8629ecd67f2ac840f9a3ed08f53d25c49 /test | |
parent | cdb0368c12640c3fb6faa00eabeff7572f677061 (diff) | |
download | lua-language-server-ee244313a7adaedf40fb83d79595f42b5c054a9c.zip |
让诊断 undefined-field 尽量精准
Diffstat (limited to 'test')
-rw-r--r-- | test/diagnostics/init.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua index 0e932ede..9c934bd5 100644 --- a/test/diagnostics/init.lua +++ b/test/diagnostics/init.lua @@ -842,4 +842,7 @@ print(<!v.field3!> + 1) print(v:method1()) print(v.method2()) print(<!v:method3!>()) + +local v1 = {} +print(v1.abc) ]] |