-
Notifications
You must be signed in to change notification settings - Fork 15
Fix AST parsing for comments #132
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
Conversation
src/parser_tests.rs
Outdated
|
||
span: (57, 120, 5), | ||
}, | ||
comments_before_assignt: None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have coverage of comments_before_assignt
since I couldn't think of a way to actually get this to be used since adding a new line before the equal sign in a rule gives a parsing error
i.e.
myrule ; test
= 234
is not considered valid
Seems the CI fails because of Seems the fix to that CI issue is included as part of #121 |
Thanks for this @SebastienGllmt. #121 has been merged. Feel free to rebase. |
922c9ce
to
8660590
Compare
seems there is a new version-related failure in the CI :/
|
Yep. Just bumped the MSRV to |
8660590
to
478ff88
Compare
Presumably due to a copy-paste mistake, the condition on this flag was the opposite of what it should be.
You can see this function has 3 cases where it looks at compiler flags. The 3rd flag correctly uses
not(feature = "lsp")
, but the first flag doesn't.