google / google/google-java-format

Formatting failure with zero-width space

Đang mở
#372 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
6.2k
Fork
937
Merge trung bình
6 phút
Pull request đã merge (30 ngày)
3

Mô tả

Test case:

```java
package test;

import com.google.common.util.concurrent.AtomicLongMap;

class Foo {
AtomicLongMap a = AtomicLongMap.create().getAndIncrement​("foo");
}
```

Error:

`src/Test.java:6:30: error: expected token: 'getAndIncrement​'; generated getAndIncrement instead`

Version:

google-java-format --version
google-java-format: Version 1.6

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.