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

runtime error of formatter #1919

Closed
sumneko opened this issue Feb 16, 2023 · 0 comments
Closed

runtime error of formatter #1919

sumneko opened this issue Feb 16, 2023 · 0 comments
Labels
feat/formatter Related to code formatter

Comments

@sumneko
Copy link
Collaborator

sumneko commented Feb 16, 2023

How are you using the lua-language-server?

Visual Studio Code Extension (sumneko.lua)

Which OS are you using?

Windows

What is the issue affecting?

Formatting

Expected Behaviour

no error

Actual Behaviour

script\core\type-formatting.lua:206: attempt to index a boolean value (local 'result')
stack traceback:
script\core\type-formatting.lua:206: in upvalue 'typeFormat'
script\core\type-formatting.lua:237: in function 'core.type-formatting'
script\provider\provider.lua:1321: in function <script\provider\provider.lua:1310>
[C]: in function 'xpcall'
script\proto\proto.lua:191: in function <script\proto\proto.lua:166>

Reproduction steps

  1. Go to '...'
  2. Click '...'
  3. See error '...'

Additional Notes

@CppCXY

Log File

No response

@sumneko sumneko added the feat/formatter Related to code formatter label Feb 16, 2023
sumneko added a commit that referenced this issue Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat/formatter Related to code formatter
Projects
None yet
Development

No branches or pull requests

1 participant