google / google/google-java-format

Formatter crashes on unicode character in comment

オープン
#836 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
6.2k
フォーク
937
平均マージ
6分
マージ済み PR(30日)
3

説明

Minimal reproduction case:

```java
package com.company;

public class Bug {
// \u000D
}
```

The formatter fails with the following message:

```
error: expected token: '\'; generated } instead
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。