You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environment (please complete the following information):
OS: Windows
Client: VSCode v3.2.2
Provide logs
···
[Error - 12:55:42] Request textDocument/semanticTokens/full failed.
Message: [12:55:42.883][error][#0:script\vm\generic.lua:21]: script\vm\generic.lua:21: attempt to index a nil value (local 'source')
stack traceback:
script\vm\generic.lua:21: in upvalue 'cloneObject'
script\vm\generic.lua:56: in upvalue 'cloneObject'
script\vm\generic.lua:101: in upvalue 'cloneObject'
script\vm\generic.lua:124: in method 'resolve'
script\vm\compiler.lua:756: in upvalue 'compileCallArgNode'
script\vm\compiler.lua:802: in function 'vm.compileCallArg'
script\vm\compiler.lua:943: in function <script\vm\compiler.lua:929>
(...tail calls...)
script\vm\compiler.lua:1759: in upvalue 'compileByNode'
script\vm\compiler.lua:1865: in function 'vm.compileNode'
script\vm\compiler.lua:863: in upvalue 'compileLocal'
... (skipping 9 levels)
script\vm\compiler.lua:1119: in function <script\vm\compiler.lua:1118>
(...tail calls...)
script\vm\compiler.lua:1759: in upvalue 'compileByNode'
script\vm\compiler.lua:1865: in function 'vm.compileNode'
script\vm\infer.lua:176: in function 'vm.getInfer'
script\core\semantic-tokens.lua:84: in function <script\core\semantic-tokens.lua:64>
(...tail calls...)
script\core\semantic-tokens.lua:815: in local 'callback'
script\parser\guide.lua:656: in function 'parser.guide.eachSourceBetween'
script\core\semantic-tokens.lua:814: in function 'core.semantic-tokens'
script\provider\provider.lua:918: in function <script\provider\provider.lua:912>
[C]: in function 'xpcall'
script\proto\proto.lua:184: in function <script\proto\proto.lua:159>
Code: -32603
···
The text was updated successfully, but these errors were encountered:
Describe the bug
使用提示时报告Request textDocument/completion failed.
To Reproduce
复现代码
键入最后一行的逗号时报告错误
Expected behavior
正常提示且不报告错误
Screenshots
Environment (please complete the following information):
Provide logs
···
[Error - 12:55:42] Request textDocument/semanticTokens/full failed.
Message: [12:55:42.883][error][#0:script\vm\generic.lua:21]: script\vm\generic.lua:21: attempt to index a nil value (local 'source')
stack traceback:
script\vm\generic.lua:21: in upvalue 'cloneObject'
script\vm\generic.lua:56: in upvalue 'cloneObject'
script\vm\generic.lua:101: in upvalue 'cloneObject'
script\vm\generic.lua:124: in method 'resolve'
script\vm\compiler.lua:756: in upvalue 'compileCallArgNode'
script\vm\compiler.lua:802: in function 'vm.compileCallArg'
script\vm\compiler.lua:943: in function <script\vm\compiler.lua:929>
(...tail calls...)
script\vm\compiler.lua:1759: in upvalue 'compileByNode'
script\vm\compiler.lua:1865: in function 'vm.compileNode'
script\vm\compiler.lua:863: in upvalue 'compileLocal'
... (skipping 9 levels)
script\vm\compiler.lua:1119: in function <script\vm\compiler.lua:1118>
(...tail calls...)
script\vm\compiler.lua:1759: in upvalue 'compileByNode'
script\vm\compiler.lua:1865: in function 'vm.compileNode'
script\vm\infer.lua:176: in function 'vm.getInfer'
script\core\semantic-tokens.lua:84: in function <script\core\semantic-tokens.lua:64>
(...tail calls...)
script\core\semantic-tokens.lua:815: in local 'callback'
script\parser\guide.lua:656: in function 'parser.guide.eachSourceBetween'
script\core\semantic-tokens.lua:814: in function 'core.semantic-tokens'
script\provider\provider.lua:918: in function <script\provider\provider.lua:912>
[C]: in function 'xpcall'
script\proto\proto.lua:184: in function <script\proto\proto.lua:159>
Code: -32603
···
The text was updated successfully, but these errors were encountered: