Index: lib/src/compiler.dart |
diff --git a/lib/src/compiler.dart b/lib/src/compiler.dart |
index 772cefb9d331dd5fe7bb44a968458ed48aabb485..65e75a3dcc2424d4321a76d4233d702ef6bbf23e 100644 |
--- a/lib/src/compiler.dart |
+++ b/lib/src/compiler.dart |
@@ -479,9 +479,11 @@ abstract class AbstractCompiler { |
AnalysisErrorListener createErrorReporter( |
AnalysisContext context, CompilerOptions options) { |
- return options.htmlReport ? new HtmlReporter(context) : options.dumpInfo |
- ? new SummaryReporter(context, options.logLevel) |
- : new LogReporter(context, useColors: options.useColors); |
+ return options.htmlReport |
+ ? new HtmlReporter(context) |
+ : options.dumpInfo |
+ ? new SummaryReporter(context, options.logLevel) |
+ : new LogReporter(context, useColors: options.useColors); |
} |
// TODO(jmesserly): find a better home for these. |