Index: pkg/analyzer/lib/src/generated/incremental_resolver.dart |
diff --git a/pkg/analyzer/lib/src/generated/incremental_resolver.dart b/pkg/analyzer/lib/src/generated/incremental_resolver.dart |
index cfa01a9c6c4a43da9a8f390b60eefb0fb3a0f492..06a2720a158b9ca51b49b1842571e9510b0e28cc 100644 |
--- a/pkg/analyzer/lib/src/generated/incremental_resolver.dart |
+++ b/pkg/analyzer/lib/src/generated/incremental_resolver.dart |
@@ -295,9 +295,9 @@ class IncrementalResolver { |
// compute values |
{ |
CompilationUnit unit = node.getAncestor((n) => n is CompilationUnit); |
- ConstantValueComputer computer = new ConstantValueComputer(_context, |
+ ConstantValueComputer computer = new ConstantValueComputer( |
_typeProvider, _context.declaredVariables, null, _typeSystem); |
- computer.add(unit, _source, _librarySource); |
+ computer.add(unit); |
computer.computeValues(); |
} |
// validate |