From b9e80534b6d363889da4c3e9fb9f4f1fd903ccbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 16 Nov 2021 16:28:40 +0800 Subject: `Lua.IntelliSense.traceBeSetted` --- test/references/common.lua | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test/references') diff --git a/test/references/common.lua b/test/references/common.lua index 4245a79d..20ddd353 100644 --- a/test/references/common.lua +++ b/test/references/common.lua @@ -1,3 +1,4 @@ +local config = require "config" TEST [[ local = 1 = @@ -95,6 +96,7 @@ t.x = 1 t[a.b.] = 1 ]] +config.set('Lua.IntelliSense.traceBeSetted', true) TEST [[ local t local = t. @@ -105,6 +107,7 @@ return { = , } ]] +config.set('Lua.IntelliSense.traceBeSetted', false) TEST [[ self = { @@ -139,6 +142,7 @@ a..c = 1 print(a..c) ]] +config.set('Lua.IntelliSense.traceBeSetted', true) TEST [[ local local t = { @@ -146,12 +150,14 @@ local t = { } print(t.) ]] +config.set('Lua.IntelliSense.traceBeSetted', false) TEST [[ local local = ]] +config.set('Lua.IntelliSense.traceBeSetted', true) TEST [[ local a. = @@ -160,16 +166,19 @@ a. = TEST [[ . = ]] +config.set('Lua.IntelliSense.traceBeSetted', false) TEST [[ local local = ]] +config.set('Lua.IntelliSense.traceBeSetted', true) TEST [[ local . = ]] +config.set('Lua.IntelliSense.traceBeSetted', false) TEST [[ _G. = 1 -- cgit v1.2.3