Newline required at end of file with test statement

Open
#87 6 comments 0 reactions 2 assignees View on GitHub

@lam2mo is already working on this.

Since Feb 21, 2020.

Assessment

This issue has not been assessed yet.

Description

bug

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 '<EOF>'
Dominant language
Java
Stars
6
Forks
7
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from JMU-CS/less-java

All issues in JMU-CS/less-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.