Chromium Code Reviews| Index: sdk/lib/_internal/compiler/implementation/compiler.dart |
| diff --git a/sdk/lib/_internal/compiler/implementation/compiler.dart b/sdk/lib/_internal/compiler/implementation/compiler.dart |
| index 1e2ab510d90353f46c1e3026575d66530b2b49f7..481af0ea754125ec7054f5130bc25d59bd7c74d4 100644 |
| --- a/sdk/lib/_internal/compiler/implementation/compiler.dart |
| +++ b/sdk/lib/_internal/compiler/implementation/compiler.dart |
| @@ -905,6 +905,7 @@ abstract class Compiler implements DiagnosticListener { |
| TreeElements analyzeElement(Element element) { |
| assert(invariant(element, element.isDeclaration)); |
| + assert(element is! ForwardingConstructorElement); |
|
ahe
2013/04/15 13:36:46
Can you call a method instead?
karlklose
2013/04/25 11:25:53
I changed the code to use a boolean.
|
| TreeElements elements = enqueuer.resolution.getCachedElements(element); |
| if (elements != null) return elements; |
| assert(parser != null); |