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
The debugger should mark the nested comment block as erroneous, because Lua will still interpret the contents within a comment block for other comment triggers including the close block.
Actual Behaviour
The debugger doesn't mark the comment block as erroneous, instead allowing it to seem fine to have two comment blocks within another.
Reproduction steps
Put a regular full comment block, ie. "--[[" and "--]]" around any block of code.
Put another "--[[" before the closing "--]]".
Try to run that code; should spit out a compilation error.
Additional Notes
No response
Log File
No response
The text was updated successfully, but these errors were encountered:
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?
Diagnostics/Syntax Checking
Expected Behaviour
The debugger should mark the nested comment block as erroneous, because Lua will still interpret the contents within a comment block for other comment triggers including the close block.
Actual Behaviour
The debugger doesn't mark the comment block as erroneous, instead allowing it to seem fine to have two comment blocks within another.
Reproduction steps
Additional Notes
No response
Log File
No response
The text was updated successfully, but these errors were encountered: