Index: pkg/compiler/lib/src/common/resolution.dart |
diff --git a/pkg/compiler/lib/src/common/resolution.dart b/pkg/compiler/lib/src/common/resolution.dart |
index 95b71482ec756505f538e7da53b1f3280d10d80a..c137bd2efd03e66c9266e116d465f9a6f64b3e2c 100644 |
--- a/pkg/compiler/lib/src/common/resolution.dart |
+++ b/pkg/compiler/lib/src/common/resolution.dart |
@@ -186,7 +186,9 @@ abstract class Resolution { |
DiagnosticReporter get reporter; |
CoreTypes get coreTypes; |
- bool retainCaches; |
+ /// If set to `true` resolution caches will not be cleared. Use this only for |
+ /// testing. |
+ bool retainCachesForTesting; |
void resolveTypedef(TypedefElement typdef); |
void resolveClass(ClassElement cls); |