Index: pkg/analyzer/test/src/summary/resynthesize_test.dart |
diff --git a/pkg/analyzer/test/src/summary/resynthesize_test.dart b/pkg/analyzer/test/src/summary/resynthesize_test.dart |
index 2fec70b384eccbbc648b3eef6915d1bdd4ebe514..881ad8f9b8f9232b7bcd667187a39b33d9cf6407 100644 |
--- a/pkg/analyzer/test/src/summary/resynthesize_test.dart |
+++ b/pkg/analyzer/test/src/summary/resynthesize_test.dart |
@@ -671,7 +671,9 @@ abstract class AbstractResynthesizeTest extends AbstractSingleUnitTest { |
expect(rImpl.evaluationResult, isNull); |
} else { |
Type rRuntimeType; |
- if (rImpl is FunctionElementImpl) { |
+ if (rImpl is ConstFieldElementImpl) { |
+ rRuntimeType = ConstFieldElementImpl; |
+ } else if (rImpl is FunctionElementImpl) { |
rRuntimeType = FunctionElementImpl; |
} else { |
rRuntimeType = rImpl.runtimeType; |