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
parsePrefixExpression seems to be incorrectly handling the propagation of child ranges and locations, as demonstrated with the following Lua snippet:
base['outer']['inner']()
Expected behaviour
The outer IndexExpression's range should contain the inner expression without the CallExpression's parenthesis and the inner expression should only contain its own range.
parsePrefixExpression
seems to be incorrectly handling the propagation of child ranges and locations, as demonstrated with the following Lua snippet:Expected behaviour
The outer
IndexExpression
's range should contain the inner expression without theCallExpression
's parenthesis and the inner expression should only contain its own range.Output
Actual behaviour
Both
IndexExpression
s refer to the same range as the entireCallExpression
(including its()
, which is incorrect)Output
The text was updated successfully, but these errors were encountered: