Skip to content
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

JavaSyntaxError for Multiline Strings in Annotations #122

Open
tahyonline opened this issue Sep 14, 2022 · 1 comment
Open

JavaSyntaxError for Multiline Strings in Annotations #122

tahyonline opened this issue Sep 14, 2022 · 1 comment

Comments

@tahyonline
Copy link

When the Annotation has a multiline string parameter, the parser throws a JavaSyntaxError exception.

@Subselect("""
        select t.field
        from table t
        """)
public class SomeEntity { ... }

The expected behaviour would be to parse the multiline string as regular string parameters for Annotations.

@retroandchill
Copy link

We're also running into this issue with a constant containing a multiline string

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants