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

Unified Diff: tests/compiler/dart2js/kernel/closed_world_from_dill_test.dart

Issue 2890153002: Handle super accesses loaded from .dill (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « pkg/compiler/lib/src/ssa/kernel_impact.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/kernel/closed_world_from_dill_test.dart
diff --git a/tests/compiler/dart2js/kernel/closed_world_from_dill_test.dart b/tests/compiler/dart2js/kernel/closed_world_from_dill_test.dart
index 6730ba8cb5a855ac9332a393e3f1d201368f2b96..2545fe47f2cf1c3c24a1c0cd9fc0c63726d441bb 100644
--- a/tests/compiler/dart2js/kernel/closed_world_from_dill_test.dart
+++ b/tests/compiler/dart2js/kernel/closed_world_from_dill_test.dart
@@ -40,10 +40,21 @@ class Mixin {
method1() {}
method2() {}
method3() {}
+ method4() {}
+ var field;
+ get property => 0;
+ set property(_) {}
}
class Class1 = Object with Mixin;
class Class2 extends Object with Mixin {
method3() {}
+ method5() {
+ super.method4();
+ super.property;
+ super.property = null;
+ super.field;
+ super.field = null;
+ }
}
main() {
@@ -53,6 +64,7 @@ main() {
new Class1().method1();
new Class2().method2();
new Class2().method3();
+ new Class2().method5();
}
'''
};
« no previous file with comments | « pkg/compiler/lib/src/ssa/kernel_impact.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698