| Index: pkg/analyzer/lib/src/generated/static_type_analyzer.dart
|
| diff --git a/pkg/analyzer/lib/src/generated/static_type_analyzer.dart b/pkg/analyzer/lib/src/generated/static_type_analyzer.dart
|
| index 47e5599b9d5bee04b68a4c147da5c8e16745ffd6..53745d27032eba5de4cbc32b64e3217afe28eba6 100644
|
| --- a/pkg/analyzer/lib/src/generated/static_type_analyzer.dart
|
| +++ b/pkg/analyzer/lib/src/generated/static_type_analyzer.dart
|
| @@ -1630,7 +1630,7 @@ class StaticTypeAnalyzer extends SimpleAstVisitor<Object> {
|
| type = type.substitute2(freshTypeVars, typeVars);
|
|
|
| var function = new FunctionElementImpl("", -1);
|
| - function.synthetic = true;
|
| + function.isSynthetic = true;
|
| function.returnType = type.returnType;
|
| function.typeParameters = freshVarElements;
|
| function.shareParameters(type.parameters);
|
| @@ -2002,7 +2002,7 @@ class StaticTypeAnalyzer extends SimpleAstVisitor<Object> {
|
|
|
| // Adjust the expected parameter type to have this return type.
|
| var function = new FunctionElementImpl(firstParamType.name, -1)
|
| - ..synthetic = true
|
| + ..isSynthetic = true
|
| ..shareParameters(firstParamType.parameters)
|
| ..returnType = paramReturnType;
|
| function.type = new FunctionTypeImpl(function);
|
|
|