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
Describe the bug
Adding a "[]" to a function name causes all errors in the file containing the function to "disappear". The error "The [name] form cannot be used" is not shown unless something is written between the brackets.
If the function with the brackets is inside a file that has been added as library, all the functions and other stuff from the file won't be read/used, apparently.
To Reproduce
Steps to reproduce the behavior:
Create a new lua file
Write "function asdf[]() end"
Write random text in the file and notice no errors are found
Expected behavior
An error to be shown (and all the other errors in the file, if any)
Environment (please complete the following information):
Describe the bug
Adding a "[]" to a function name causes all errors in the file containing the function to "disappear". The error "The
[name]
form cannot be used" is not shown unless something is written between the brackets.If the function with the brackets is inside a file that has been added as library, all the functions and other stuff from the file won't be read/used, apparently.
To Reproduce
Steps to reproduce the behavior:
function asdf[]() end
"Expected behavior
An error to be shown (and all the other errors in the file, if any)
Environment (please complete the following information):
Additional context
log file
The text was updated successfully, but these errors were encountered: