-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix #5145: Improve treatment of soft modifiers #5471
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
The syntaxHighlighting test fails because it stopped highlighting class inline The test should be fixed, but I don't know how to do it. @Duhemm can you help? |
I think that @allanrenucci is the Syntax Highlighting Guru |
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.
def test(inline: Int) = 1
This doesn't work
- Generalize treatment of `inline` to a set of soft modifiers - Make `opaque` a soft modifier - Fix parsing of soft modifiers so that they are treated as modifiers only when preceding a hard modifier or a definition keyword
- also handle parameter modifiers - add a spec
Soft modifiers in modifier position are not considered as binder names.
3200c99
to
36e8fe1
Compare
I have added |
inline
to a set of soft modifiersopaque
a soft modifieronly when preceding a hard modifier or a definition keyword