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 48234e1cbad1b459d1e1440bd29717e04bb9d213..78c62e99fe7049fe9d02631a84dc10a76c947dfb 100644 |
--- a/pkg/analyzer/test/generated/analysis_context_factory.dart |
+++ b/pkg/analyzer/test/generated/analysis_context_factory.dart |
@@ -226,7 +226,7 @@ class AnalysisContextFactory { |
ElementFactory.namedParameter2("onError", provider.functionType) |
]); |
if (!futureThenR.type.isDynamic) { |
- thenMethod.typeParameters = [futureThenR]; |
+ thenMethod.typeParameters = <TypeParameterElement>[futureThenR]; |
} |
thenOnValue.enclosingElement = thenMethod; |
thenOnValue.type = new FunctionTypeImpl(thenOnValue); |