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
[Error - 上午11:19:06] Request textDocument/semanticTokens/range failed.
Message: [11:19:06.832][error][#0:script\encoder\utf16le.lua:37]: script\encoder\utf16le.lua:7: attempt to perform bitwise operation on a nil value (local 'h')
stack traceback:
script\encoder\utf16le.lua:37: in function 'encoder.utf16le.decode'
script\encoder\init.lua:45: in function 'encoder.offset'
script\proto\converter.lua:75: in function <script\proto\converter.lua:68>
(...tail calls...)
script\proto\converter.lua:137: in function 'proto.converter.unpackRange'
script\provider\provider.lua:711: in function <script\provider\provider.lua:699>
[C]: in function 'xpcall'
script\proto\proto.lua:148: in function <script\proto\proto.lua:123>
Code: -32603
[Error - 上午11:04:08] Request textDocument/codeAction failed.
Message: [11:04:08.784][error][#0:script\encoder\utf16le.lua:22]: script\encoder\utf16le.lua:22: invalid UTF-8 code
stack traceback:
script\encoder\utf16le.lua:22: in function 'encoder.utf16le.encode'
script\encoder\init.lua:44: in function 'encoder.offset'
script\proto\converter.lua:75: in function <script\proto\converter.lua:68>
(...tail calls...)
script\proto\converter.lua:136: in function 'proto.converter.unpackRange'
script\provider\provider.lua:617: in function <script\provider\provider.lua:608>
[C]: in function 'xpcall'
script\proto\proto.lua:148: in function <script\proto\proto.lua:123>
似乎是昨天更新后才出现这样的问题?现在输入中文注释或者想往控制台输出中文,vscode就会有弹窗报以下错误
[Error - 上午11:19:06] Request textDocument/semanticTokens/range failed.
Message: [11:19:06.832][error][#0:script\encoder\utf16le.lua:37]: script\encoder\utf16le.lua:7: attempt to perform bitwise operation on a nil value (local 'h')
stack traceback:
script\encoder\utf16le.lua:37: in function 'encoder.utf16le.decode'
script\encoder\init.lua:45: in function 'encoder.offset'
script\proto\converter.lua:75: in function <script\proto\converter.lua:68>
(...tail calls...)
script\proto\converter.lua:137: in function 'proto.converter.unpackRange'
script\provider\provider.lua:711: in function <script\provider\provider.lua:699>
[C]: in function 'xpcall'
script\proto\proto.lua:148: in function <script\proto\proto.lua:123>
Code: -32603
[Error - 上午11:04:08] Request textDocument/codeAction failed.
Message: [11:04:08.784][error][#0:script\encoder\utf16le.lua:22]: script\encoder\utf16le.lua:22: invalid UTF-8 code
stack traceback:
script\encoder\utf16le.lua:22: in function 'encoder.utf16le.encode'
script\encoder\init.lua:44: in function 'encoder.offset'
script\proto\converter.lua:75: in function <script\proto\converter.lua:68>
(...tail calls...)
script\proto\converter.lua:136: in function 'proto.converter.unpackRange'
script\provider\provider.lua:617: in function <script\provider\provider.lua:608>
[C]: in function 'xpcall'
script\proto\proto.lua:148: in function <script\proto\proto.lua:123>
Code: -32603
Originally posted by @lilystudent2016 in #749 (comment)
The text was updated successfully, but these errors were encountered: