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

Unified Diff: sdk/lib/_internal/compiler/implementation/enqueue.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/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.

Powered by Google App Engine
This is Rietveld 408576698