Chromium Code Reviews| Index: sdk/lib/_internal/compiler/implementation/enqueue.dart |
| diff --git a/sdk/lib/_internal/compiler/implementation/enqueue.dart b/sdk/lib/_internal/compiler/implementation/enqueue.dart |
| index 70897cb009f3e3372c22d07528ce28ce247d9d35..b29f651b2ba86f4a4fae0887487cda7f3097e6f2 100644 |
| --- a/sdk/lib/_internal/compiler/implementation/enqueue.dart |
| +++ b/sdk/lib/_internal/compiler/implementation/enqueue.dart |
| @@ -59,6 +59,11 @@ abstract class Enqueuer { |
| assert(invariant(element, element.isDeclaration)); |
| if (element.isForeign(compiler)) return; |
| + if (element is ForwardingConstructorElement) { |
|
ahe
2013/04/15 13:36:46
Can you call a method instead?
|
| + addToWorkList(element.superConstructor, elements); |
| + return; |
| + } |
| + |
| if (!addElementToWorkList(element, elements)) return; |
| // Enable runtime type support if we discover a getter called runtimeType. |