Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/task/ResolveDartUnitTask.java |
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/task/ResolveDartUnitTask.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/task/ResolveDartUnitTask.java |
index a213ef18a5150167c5deee1c170839ad730f4cb9..d20e8e1cc9e61cb39a198b35f06cd01c23ba3d75 100644 |
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/task/ResolveDartUnitTask.java |
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/task/ResolveDartUnitTask.java |
@@ -170,7 +170,10 @@ public class ResolveDartUnitTask extends AnalysisTask { |
inheritanceManager); |
unit.accept(errorVerifier); |
- ConstantVerifier constantVerifier = new ConstantVerifier(errorReporter, typeProvider); |
+ ConstantVerifier constantVerifier = new ConstantVerifier( |
+ errorReporter, |
+ libraryElement, |
+ typeProvider); |
unit.accept(constantVerifier); |
} finally { |
counterHandleErrors.stop(); |