Index: pkg/analyzer/test/src/task/incremental_element_builder_test.dart |
diff --git a/pkg/analyzer/test/src/task/incremental_element_builder_test.dart b/pkg/analyzer/test/src/task/incremental_element_builder_test.dart |
index 56f174e4f773c459f535c5dc1930d1846882f5a4..f5668ff660f75b5e3fee263c1883eb4ec83c6e3b 100644 |
--- a/pkg/analyzer/test/src/task/incremental_element_builder_test.dart |
+++ b/pkg/analyzer/test/src/task/incremental_element_builder_test.dart |
@@ -2001,7 +2001,7 @@ main() { |
unitDelta = builder.unitDelta; |
expect(newUnit.element, unitElement); |
// Flush all tokens, ASTs and elements. |
- context.analysisCache.flush((target, result) { |
+ context.analysisCache.flush((target) => true, (target, result) { |
return result == TOKEN_STREAM || |
result == PARSED_UNIT || |
RESOLVED_UNIT_RESULTS.contains(result) || |