diff options
-rw-r--r-- | script-beta/parser/guide.lua | 4 | ||||
-rw-r--r-- | test-beta/completion/init.lua | 8 | ||||
-rw-r--r-- | test-beta/diagnostics/init.lua | 3 | ||||
-rw-r--r-- | test-beta/hover/init.lua | 1 | ||||
-rw-r--r-- | test/completion/init.lua | 8 | ||||
-rw-r--r-- | test/diagnostics/normal.lua | 3 |
6 files changed, 13 insertions, 14 deletions
diff --git a/script-beta/parser/guide.lua b/script-beta/parser/guide.lua index 31e2b9d8..e67d34f3 100644 --- a/script-beta/parser/guide.lua +++ b/script-beta/parser/guide.lua @@ -17,9 +17,9 @@ local setmetatable = setmetatable local assert = assert local select = select local osClock = os.clock -local DEVELOP = DEVELOP +local DEVELOP = _G.DEVELOP -local _ENV = nil +_ENV = nil local m = {} diff --git a/test-beta/completion/init.lua b/test-beta/completion/init.lua index 8fae0bd3..568937b1 100644 --- a/test-beta/completion/init.lua +++ b/test-beta/completion/init.lua @@ -558,21 +558,21 @@ collectgarbage('$') }, }, { - label = "'setpause'", + label = "'incremental'", kind = CompletionItemKind.EnumMember, textEdit = { start = 16, finish = 17, - newText = "'setpause'", + newText = "'incremental'", }, }, { - label = "'setstepmul'", + label = "'generational'", kind = CompletionItemKind.EnumMember, textEdit = { start = 16, finish = 17, - newText = "'setstepmul'", + newText = "'generational'", }, }, { diff --git a/test-beta/diagnostics/init.lua b/test-beta/diagnostics/init.lua index 9a048ea9..49d11dc2 100644 --- a/test-beta/diagnostics/init.lua +++ b/test-beta/diagnostics/init.lua @@ -459,9 +459,8 @@ local f = load('') f(1, 2, 3) ]] -require 'config' .config.runtime.version = 'Lua 5.3' TEST [[ -<!warn!>(1) +<!unpack!>(1) ]] TEST [[ diff --git a/test-beta/hover/init.lua b/test-beta/hover/init.lua index 99b394c8..f06afbfc 100644 --- a/test-beta/hover/init.lua +++ b/test-beta/hover/init.lua @@ -819,6 +819,7 @@ global _G: _G { tostring: function, type: function, utf8: utf8, + warn: function, xpcall: function, } ]] diff --git a/test/completion/init.lua b/test/completion/init.lua index 3847363f..98234551 100644 --- a/test/completion/init.lua +++ b/test/completion/init.lua @@ -498,16 +498,16 @@ collectgarbage('$') additionalTextEdits = EXISTS, }, { - label = 'setpause', - filterText = 'setpause', + label = 'incremental', + filterText = 'incremental', kind = CompletionItemKind.EnumMember, documentation = EXISTS, textEdit = EXISTS, additionalTextEdits = EXISTS, }, { - label = 'setstepmul', - filterText = 'setstepmul', + label = 'generational', + filterText = 'generational', kind = CompletionItemKind.EnumMember, documentation = EXISTS, textEdit = EXISTS, diff --git a/test/diagnostics/normal.lua b/test/diagnostics/normal.lua index 5b0e64a5..4207dea0 100644 --- a/test/diagnostics/normal.lua +++ b/test/diagnostics/normal.lua @@ -269,9 +269,8 @@ local f = load('') f(1, 2, 3) ]] -require 'config' .config.runtime.version = 'Lua 5.3' TEST [[ -<!warn!>(1) +<!unpack!>(1) ]] TEST [[ |