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

Support String Templates #981

Closed
anthonyvdotbe opened this issue Oct 26, 2023 · 1 comment
Closed

Support String Templates #981

anthonyvdotbe opened this issue Oct 26, 2023 · 1 comment
Labels

Comments

@anthonyvdotbe
Copy link
Contributor

Formatting a source file with String Templates:

class Foo {

    private static final int X = 42;
    private static final String Y = STR."\{X} = \{X}";

}

gives:

Foo.java:4:45: error: did not generate token "."

@anthonyvdotbe
Copy link
Contributor Author

In essence this is a duplicate of #973, though that one is specifically reported against the IntelliJ plugin and labeled as such.

@cushon cushon added the Java 21 label Dec 7, 2023
copybara-service bot pushed a commit that referenced this issue Dec 18, 2023
Fixes #981

PiperOrigin-RevId: 589656132
copybara-service bot pushed a commit that referenced this issue Dec 18, 2023
Fixes #981

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

Successfully merging a pull request may close this issue.

2 participants