From b7caff0e2668dcad90d4e91c61736202000bc243 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 30 Jun 2021 17:55:25 +0800 Subject: resolve #573 --- test/diagnostics/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/diagnostics/init.lua') diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua index be83ac96..b00a4e21 100644 --- a/test/diagnostics/init.lua +++ b/test/diagnostics/init.lua @@ -868,7 +868,7 @@ local mt2 = {} ---@type Foo local v print(v.field1 + 1) -print(v. + 1) +print(v.field2 + 1) print(v. + 1) print(v:method1()) print(v.method2()) @@ -877,7 +877,7 @@ print(v:()) ---@type Bar local v2 print(v2.field1 + 1) -print(v2. + 1) +print(v2.field2 + 1) print(v2. + 1) print(v2.field4 + 1) print(v2:method1()) -- cgit v1.2.3