Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

注释引起的异常错误 #597

Closed
qqwx1986 opened this issue Jul 13, 2021 · 0 comments
Closed

注释引起的异常错误 #597

qqwx1986 opened this issue Jul 13, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@qqwx1986
Copy link

增加注释
---@vararg any
local function test()
end

提示下面异常错误

attempt to index a nil value
stack traceback:
[C]: in for iterator 'for iterator'
script\core\noder.lua:1012: in function 'core.noder.compileNode'
script\core\noder.lua:1302: in local 'callback'
script\parser\guide.lua:652: in function 'parser.guide.eachSource'
script\core\noder.lua:1300: in function 'core.noder.compileNodes'
script\core\noder.lua:1313: in local 'callback'
script\files.lua:896: in function 'files.onWatch'
script\files.lua:204: in function <script\files.lua:199>
stack traceback:
script\await.lua:203: in function 'await.step'
script\service\service.lua:146: in function 'service.service.startTimer'
script\service\service.lua:224: in function 'service.service.start'
..vscode\extensions\sumneko.lua-2.2.3\server\main.lua:64: in main chunk
[C]: in ?

@sumneko sumneko added the bug Something isn't working label Jul 13, 2021
sumneko added a commit that referenced this issue Jul 14, 2021
sumneko added a commit that referenced this issue Jul 14, 2021
This reverts commit a00010f.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants