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
When a class has multiple annotations but one is commented out the comment is still considered as entry and running the code throws java.lang.IllegalStateException: Unrecognized modifier: //@SerializeWithStrategy(SerializationStrategy.KebabCase)
See branch-reproducer for precise setup
@paranoidmonoid could you try with an updated version of the Kotlin compiler? Unfortunately we get the entries directly from the compiler AST, so I see little we can do ourselves to fix the problem (but if in a new Kotlin version the problem persists, I'm more than happy to raise it myself to the Jetbrains people if you prefer not to).
Describe the bug
When a class has multiple annotations but one is commented out the comment is still considered as entry and running the code throws
java.lang.IllegalStateException: Unrecognized modifier: //@SerializeWithStrategy(SerializationStrategy.KebabCase)
See branch-reproducer for precise setup
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The commented lines are ignored
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: