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

Unified Diff: test/kernel/regression/issue_000080.dart

Issue 2106103008: Update dart2js to fix #80. (Closed) Base URL: git@github.com:dart-lang/rasta.git@analyze
Patch Set: Mixin application names should be local to libraries. Created 4 years, 6 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: test/kernel/regression/issue_000080.dart
diff --git a/test/kernel/regression/duplicated_mixin.dart b/test/kernel/regression/issue_000080.dart
similarity index 59%
copy from test/kernel/regression/duplicated_mixin.dart
copy to test/kernel/regression/issue_000080.dart
index 08368cfe449dab0e4c25587c302575b44ea83f57..6a0292d34c7885ccaa3fa5863e2935248d206651 100644
--- a/test/kernel/regression/duplicated_mixin.dart
+++ b/test/kernel/regression/issue_000080.dart
@@ -4,7 +4,16 @@
class Mixin {
var field;
+ foo() => 87;
}
-class A extends Object with Mixin, Mixin {
+class Foo extends Object with Mixin {
+ foo() => super.foo();
+ bar() => super.field;
+}
+
+main() {
+ var f = new Foo();
+ f.field = 42;
+ print(f.bar());
}

Powered by Google App Engine
This is Rietveld 408576698