Skip to content

Newline required at end of file with test statement #87

Open
@lam2mo

Description

@lam2mo

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions