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

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

Issue 2884273002: Support mixins when loading from .dill (Closed)
Patch Set: Updated cf. comments 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 1c66cd642eaa81e45c92bd43b00444169cd447ae..6730ba8cb5a855ac9332a393e3f1d201368f2b96 100644
--- a/tests/compiler/dart2js/kernel/closed_world_from_dill_test.dart
+++ b/tests/compiler/dart2js/kernel/closed_world_from_dill_test.dart
@@ -31,8 +31,28 @@ import 'compiler_helper.dart';
const SOURCE = const {
'main.dart': '''
+
+class ClassWithSetter {
+ void set setter(_) {}
+}
+
+class Mixin {
+ method1() {}
+ method2() {}
+ method3() {}
+}
+class Class1 = Object with Mixin;
+class Class2 extends Object with Mixin {
+ method3() {}
+}
+
main() {
print('Hello World');
+ ''.contains; // Trigger member closurization.
+ new ClassWithSetter().setter = null;
+ new Class1().method1();
+ new Class2().method2();
+ new Class2().method3();
}
'''
};
« 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