We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The = token changed from equal_assign to expr_or_assign_or_help in R 4.0, breaking the xpaths we use in scope completion, definition, and hover.
=
equal_assign
expr_or_assign_or_help
R 3.6
> e <- parse(text = "a=1") > getParseData(e) line1 col1 line2 col2 id parent token terminal text 8 1 1 1 3 8 0 equal_assign FALSE 1 1 1 1 1 1 3 SYMBOL TRUE a 3 1 1 1 1 3 8 expr FALSE 2 1 2 1 2 2 8 EQ_ASSIGN TRUE = 4 1 3 1 3 4 5 NUM_CONST TRUE 1 5 1 3 1 3 5 8 expr FALSE
R 4.0
> e <- parse(text= "a=1") > getParseData(e) line1 col1 line2 col2 id parent token terminal text 9 1 1 1 3 9 0 expr_or_assign_or_help FALSE 1 1 1 1 1 1 3 SYMBOL TRUE a 3 1 1 1 1 3 9 expr FALSE 2 1 2 1 2 2 9 EQ_ASSIGN TRUE = 5 1 3 1 3 5 6 NUM_CONST TRUE 1 6 1 3 1 3 6 9 expr FALSE
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The
=
token changed fromequal_assign
toexpr_or_assign_or_help
in R 4.0, breaking the xpaths we use in scope completion, definition, and hover.R 3.6
R 4.0
The text was updated successfully, but these errors were encountered: