Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/LibraryResolver.java |
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/LibraryResolver.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/LibraryResolver.java |
index a06acaa98b2f84780d0f983ea40992895f1d3bf9..abb73de8383048f5262a888260a33905e1bf3e97 100644 |
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/LibraryResolver.java |
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/LibraryResolver.java |
@@ -742,7 +742,7 @@ public class LibraryResolver { |
private void performConstantEvaluation() { |
TimeCounterHandle timeCounter = PerformanceStatistics.resolve.start(); |
try { |
- ConstantValueComputer computer = new ConstantValueComputer(); |
+ ConstantValueComputer computer = new ConstantValueComputer(typeProvider); |
for (Library library : librariesInCycles) { |
for (Source source : library.getCompilationUnitSources()) { |
try { |