| Index: lib/src/compiler.dart
|
| diff --git a/lib/src/compiler.dart b/lib/src/compiler.dart
|
| index 9d6f04b5b49ca8e49da677a99d4bb00ae3f16ea8..a38f43b73408a79014b2e23c2d2eff0b72f21aba 100644
|
| --- a/lib/src/compiler.dart
|
| +++ b/lib/src/compiler.dart
|
| @@ -355,7 +355,8 @@ abstract class AbstractCompiler {
|
| final AnalysisContext context;
|
| final AnalysisErrorListener reporter;
|
|
|
| - AbstractCompiler(this.context, this.options, [this.reporter]);
|
| + AbstractCompiler(this.context, this.options, [AnalysisErrorListener listener])
|
| + : reporter = listener ?? AnalysisErrorListener.NULL_LISTENER;
|
|
|
| String get outputDir => options.codegenOptions.outputDir;
|
|
|
|
|