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

Unified Diff: pkg/kernel/lib/transformations/mixin_full_resolution.dart

Issue 2665723002: Implement canonical name scheme in kernel. (Closed)
Patch Set: Address Kevin's comments Created 3 years, 10 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: pkg/kernel/lib/transformations/mixin_full_resolution.dart
diff --git a/pkg/kernel/lib/transformations/mixin_full_resolution.dart b/pkg/kernel/lib/transformations/mixin_full_resolution.dart
index 8d8434778725ea30e098885f62af0cd7eeab1c74..7f200102ee61bad7ff5b1f5c87e14fb76f295ee1 100644
--- a/pkg/kernel/lib/transformations/mixin_full_resolution.dart
+++ b/pkg/kernel/lib/transformations/mixin_full_resolution.dart
@@ -115,7 +115,7 @@ class MixinFullResolution {
for (var superclassConstructor in class_.superclass.constructors) {
var forwardingConstructor =
buildForwardingConstructor(superclassCloner, superclassConstructor);
- class_.constructors.add(forwardingConstructor..parent = class_);
+ class_.addMember(forwardingConstructor);
}
}
« no previous file with comments | « pkg/kernel/lib/transformations/insert_covariance_checks.dart ('k') | pkg/kernel/lib/transformations/treeshaker.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698