JMU-CS / JMU-CS/less-java

Newline required at end of file with test statement

未关闭
#87 6 条评论 0 个 reaction 已指派 2 人 已被 @lam2mo 认领 在 GitHub 查看
bug
主要语言
Java
星标
6
派生
7
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。