提交 2aea7483 authored 作者: Noel Grandin's avatar Noel Grandin

Internal compiler believes that "3 warnings" is an error #1214

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