Unverified 提交 26422033 authored 作者: Noel Grandin's avatar Noel Grandin 提交者: GitHub

Merge pull request #1253 from grandinj/1214_compiler_warnings

Internal compiler believes that "3 warnings" is an error Issue #1214
...@@ -420,7 +420,7 @@ public class SourceCompiler { ...@@ -420,7 +420,7 @@ public class SourceCompiler {
final BufferedReader reader = new BufferedReader(new StringReader(output)); final BufferedReader reader = new BufferedReader(new StringReader(output));
try { try {
for (String line; (line = reader.readLine()) != null;) { for (String line; (line = reader.readLine()) != null;) {
if (line.endsWith("warning")) { if (line.endsWith("warning") || line.endsWith("warnings")) {
// ignore summary line // ignore summary line
} else if (line.startsWith("Note:") } else if (line.startsWith("Note:")
|| line.startsWith("warning:")) { || line.startsWith("warning:")) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论