JMU-CS / JMU-CS/less-java

Newline required at end of file with test statement

Aperta
#87 6 commenti 0 reazioni 2 assegnatari Rivendicata da @lam2mo Vedi su GitHub
bug
Lingua principale
Java
Stelle
6
Fork
7
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

During the UI testing (see #84) I discovered that I was getting a parse error if the file ended with a "test" statement that didn't terminate with a newline. This may be a UI-only issue; more testing is necessary.

```
main() {
println("Hello, world")
}
test 1 + 2 == 3
```

```
line 4:13 missing EOL at ''
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.