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

Does not error on print([[]]:foo()) #1526

Closed
somebody1234 opened this issue Sep 5, 2022 · 0 comments
Closed

Does not error on print([[]]:foo()) #1526

somebody1234 opened this issue Sep 5, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@somebody1234
Copy link

How are you using the lua-language-server?

Visual Studio Code Extension (sumneko.lua)

Which OS are you using?

Linux

What is the issue affecting?

Diagnostics/Syntax Checking

Expected Behaviour

Errors

Actual Behaviour

No error

Reproduction steps

  1. Type this:
local x = print([[]]:gsub())

Additional Notes

Extension v3.5.1
code-server v4.6.1 (equivalent to:)
VSCode: 1.70.2
using LuaJIT mode

Log File

N/A

@somebody1234 somebody1234 changed the title Does not catch calling method on a literal Does not error on print([[]]:foo()) Sep 5, 2022
@sumneko sumneko added the bug Something isn't working label Sep 5, 2022
@sumneko sumneko closed this as completed in b54172d Sep 6, 2022
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