google / google/google-java-format

Formatter fails with Javadoc on import

Aberta
#424 1 comentário 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Java
Estrelas
6.2k
Forks
937
Merge médio
6min
PRs com merge (30d)
3

Descrição

The annotation is wrong for the Java file, but this is a compiling, small reproducing case. The following file complains about syntax errors:

```java
package foo;

import groovy.transform.CompileStatic;

/**
* Created.
*/
import java.util.ArrayList;

/**
* Created.
*/
@CompileStatic
public class Broken {
ArrayList list;
}
```

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.