Chromium Code Reviews| Index: sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart |
| diff --git a/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart b/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart |
| index aea83785a7f7218f6367a1e75b0f154e085dac4e..c06cd85a0f2997619d2226e38dea917bb7ff8436 100644 |
| --- a/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart |
| +++ b/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart |
| @@ -576,6 +576,9 @@ class InternalSimpleTypesInferrer extends TypesInferrer { |
| } |
| bool analyze(Element element) { |
| + if (element.isForwardingConstructor) { |
|
kasperl
2013/04/25 12:13:12
Sure that element isn't a forwarding constructor a
karlklose
2013/05/03 09:35:45
Ditto.
|
| + element = element.targetConstructor; |
| + } |
| SimpleTypeInferrerVisitor visitor = |
| new SimpleTypeInferrerVisitor(element, compiler, this); |
| TypeMask returnType = visitor.run(); |