| Index: lib/src/compiler/side_effect_analysis.dart
|
| diff --git a/lib/src/compiler/side_effect_analysis.dart b/lib/src/compiler/side_effect_analysis.dart
|
| index b1f9e4a4df5bfc2f37f759b4fb0226e8154735a0..d55c3fb0b7fb1ebfc2ceb0b0baf494df60c42d60 100644
|
| --- a/lib/src/compiler/side_effect_analysis.dart
|
| +++ b/lib/src/compiler/side_effect_analysis.dart
|
| @@ -107,11 +107,12 @@ class _AssignmentFinder extends RecursiveAstVisitor {
|
| class ConstFieldVisitor {
|
| final ConstantVisitor _constantVisitor;
|
|
|
| - ConstFieldVisitor(TypeProvider types, Source source)
|
| + ConstFieldVisitor(TypeProvider types, {Source dummySource})
|
| // TODO(jmesserly): support -D variables on the command line
|
| : _constantVisitor = new ConstantVisitor(
|
| new ConstantEvaluationEngine(types, new DeclaredVariables()),
|
| - new ErrorReporter(AnalysisErrorListener.NULL_LISTENER, source));
|
| + new ErrorReporter(
|
| + AnalysisErrorListener.NULL_LISTENER, dummySource));
|
|
|
| // TODO(jmesserly): this is used to determine if the field initialization is
|
| // side effect free. We should make the check more general, as things like
|
|
|