Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Unified Diff: sdk/lib/_internal/compiler/implementation/compiler.dart

Issue 14168003: Implement implicit constructors in mixin applications. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove debug code and rebase Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698