From 8c5e706092d89385c0aa53425316a3148535d75a Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Sat, 13 Jun 2015 03:43:20 +0300 Subject: [PATCH] CLI: improve diagnostic message format - render the whole line where the error/warning points to, if any, and another line with '^', like other compilers do - lowercase diagnostic severity - decapitalize the message if it doesn't start with a proper name Original commit: 54dfd626ab1495d536271dcef8164333266f4f6a --- .../jetbrains/kotlin/compilerRunner/CompilerOutputParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jps/jps-plugin/src/org/jetbrains/kotlin/compilerRunner/CompilerOutputParser.java b/jps/jps-plugin/src/org/jetbrains/kotlin/compilerRunner/CompilerOutputParser.java index e5bb3d4ea3d..beaebcab7f1 100644 --- a/jps/jps-plugin/src/org/jetbrains/kotlin/compilerRunner/CompilerOutputParser.java +++ b/jps/jps-plugin/src/org/jetbrains/kotlin/compilerRunner/CompilerOutputParser.java @@ -161,7 +161,7 @@ public class CompilerOutputParser { reportToCollector(text); } else { - messageCollector.report(category, text, CompilerMessageLocation.create(path, line, column)); + messageCollector.report(category, text, CompilerMessageLocation.create(path, line, column, null)); } tags.pop(); }