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

False syntax error in single-line comments #707

Closed
Cr4xy opened this issue Oct 5, 2021 · 0 comments
Closed

False syntax error in single-line comments #707

Cr4xy opened this issue Oct 5, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@Cr4xy
Copy link
Contributor

Cr4xy commented Oct 5, 2021

To Reproduce
Steps to reproduce the behavior:

test = {
  "Hello", -- [[Abc]],
  "World"
}
print(test[1] .. " " .. test[2])

Expected behavior
No syntax error.

Screenshots
image
image

Environment:

  • OS: Windows
  • Lua: LuaJIT
@sumneko sumneko added the bug Something isn't working label Oct 5, 2021
@sumneko sumneko closed this as completed in 896e4b9 Oct 8, 2021
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