JMU-CS / JMU-CS/less-java

Newline required at end of file with test statement

Open
#87 6 comments 0 reactions 2 assignees Claimed by @lam2mo View on GitHub
bug
Dominant language
Java
Stars
6
Forks
7
PR merge metrics
No merged PRs in 30d

Description

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 ''
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.