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 6c923c022058b42a83fe765538adefd8b3cf5b9b..e9fbf2cb553bf15e680c427692beca640b3c779b 100644 |
| --- a/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart |
| +++ b/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart |
| @@ -473,6 +473,9 @@ class SimpleTypesInferrer extends TypesInferrer { |
| } |
| bool analyze(Element element) { |
| + if (element is ForwardingConstructorElement) { |
|
ahe
2013/04/15 13:36:46
Is there a method you can call?
|
| + element = element.superConstructor; |
| + } |
| SimpleTypeInferrerVisitor visitor = |
| new SimpleTypeInferrerVisitor(element, compiler, this); |
| TypeMask returnType = visitor.run(); |