summaryrefslogtreecommitdiff
path: root/test/diagnostics
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-17 03:28:39 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-17 03:28:39 +0800
commit3996e193acf42c0f42a3ed2ee65e5e674c9ddeb0 (patch)
tree9066b5036a0009565de426936d22694408da514d /test/diagnostics
parent8c5dacd639a13aa8b7d5b6c8125144a60002d7a0 (diff)
downloadlua-language-server-3996e193acf42c0f42a3ed2ee65e5e674c9ddeb0.zip
#980
Diffstat (limited to 'test/diagnostics')
-rw-r--r--test/diagnostics/common.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/diagnostics/common.lua b/test/diagnostics/common.lua
index 56ad0d59..2a9cefe0 100644
--- a/test/diagnostics/common.lua
+++ b/test/diagnostics/common.lua
@@ -792,7 +792,7 @@ local mt2 = {}
---@type Foo
local v
print(v.field1 + 1)
-print(v.<!field2!> + 1)
+print(v.field2 + 1)
print(v.<!field3!> + 1)
print(v:method1())
print(v.method2())
@@ -801,7 +801,7 @@ print(v:<!method3!>())
---@type Bar
local v2
print(v2.field1 + 1)
-print(v2.<!field2!> + 1)
+print(v2.field2 + 1)
print(v2.<!field3!> + 1)
print(v2.field4 + 1)
print(v2:method1())