Open thaidn opened 5 years ago
If nothing else the formatter should be reported a better diagnostic here, but there's a zero-width space in that example getAndIncrement<200b>("foo")
, which is disallowed by the style guide.
Removing that character should allow the file to be formatted successfully.
Test case:
Error:
src/Test.java:6:30: error: expected token: 'getAndIncrement'; generated getAndIncrement instead
Version:
google-java-format --version google-java-format: Version 1.6