Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/task/GenerateDartErrorsTask.java |
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/task/GenerateDartErrorsTask.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/task/GenerateDartErrorsTask.java |
index 40b4b6f33c7ecf90c15c60140e94c255c21f5038..5e682f579aadb539211f735d8a3516ccd5fe55e5 100644 |
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/task/GenerateDartErrorsTask.java |
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/task/GenerateDartErrorsTask.java |
@@ -197,7 +197,10 @@ public class GenerateDartErrorsTask extends AnalysisTask { |
// Use the ConstantVerifier to verify the use of constants. This needs to happen before using |
// the ErrorVerifier because some error codes need the computed constant values. |
// |
- ConstantVerifier constantVerifier = new ConstantVerifier(errorReporter, typeProvider); |
+ ConstantVerifier constantVerifier = new ConstantVerifier( |
+ errorReporter, |
+ libraryElement, |
+ typeProvider); |
unit.accept(constantVerifier); |
// |
// Use the ErrorVerifier to compute the rest of the errors. |