Index: pkg/analyzer/test/generated/analysis_context_factory.dart |
diff --git a/pkg/analyzer/test/generated/analysis_context_factory.dart b/pkg/analyzer/test/generated/analysis_context_factory.dart |
index f5cb1954e5d4658b1971c3004e8aba87105c705c..dc8920b53cfd59c30a5ddc4257d00fed6642add0 100644 |
--- a/pkg/analyzer/test/generated/analysis_context_factory.dart |
+++ b/pkg/analyzer/test/generated/analysis_context_factory.dart |
@@ -212,7 +212,10 @@ class AnalysisContextFactory { |
futureThenR = ElementFactory.typeParameterWithType('R'); |
} |
FunctionElementImpl thenOnValue = ElementFactory.functionElement3( |
- 'onValue', futureThenR, [futureElement.typeParameters[0]], null); |
+ 'onValue', |
+ DynamicElementImpl.instance, |
+ [futureElement.typeParameters[0]], |
+ null); |
thenOnValue.synthetic = true; |
DartType futureRType = futureElement.type.instantiate([futureThenR.type]); |