| Index: pkg/compiler/lib/src/resolution/resolution_strategy.dart
|
| diff --git a/pkg/compiler/lib/src/resolution/resolution_strategy.dart b/pkg/compiler/lib/src/resolution/resolution_strategy.dart
|
| index 3e328069cc0fcd15b9d4b102a994626e5fb67f7f..295d43527723f11096e7a632637ec37071ef51af 100644
|
| --- a/pkg/compiler/lib/src/resolution/resolution_strategy.dart
|
| +++ b/pkg/compiler/lib/src/resolution/resolution_strategy.dart
|
| @@ -592,6 +592,9 @@ class _CompilerElementEnvironment implements ElementEnvironment {
|
|
|
| @override
|
| ResolutionFunctionType getFunctionType(MethodElement method) {
|
| + if (method is ConstructorBodyElement) {
|
| + return method.constructor.type;
|
| + }
|
| method.computeType(_resolution);
|
| return method.type;
|
| }
|
|
|