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

Unified Diff: pkg/kernel/testcases/closures/contexts_in_field_initializers.dart.expect

Issue 2939043002: Remove unnecessary contexts in closure conversion (Closed)
Patch Set: Small comment edit Created 3 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: pkg/kernel/testcases/closures/contexts_in_field_initializers.dart.expect
diff --git a/pkg/kernel/testcases/closures/contexts_in_field_initializers.dart.expect b/pkg/kernel/testcases/closures/contexts_in_field_initializers.dart.expect
new file mode 100644
index 0000000000000000000000000000000000000000..a02994750ac8c28ef53963c3ba0000a710cf6cb7
--- /dev/null
+++ b/pkg/kernel/testcases/closures/contexts_in_field_initializers.dart.expect
@@ -0,0 +1,17 @@
+library;
+import self as self;
+import "dart:core" as core;
+
+class X extends core::Object {
+ constructor •() → void
+ : super core::Object::•()
+ ;
+}
+class A extends core::Object {
+ field self::X x;
+ constructor •(self::X x) → void
+ : self::A::x = x, super core::Object::•() {}
+}
+static method main() → dynamic {
+ self::A a = new self::A::•(new self::X::•());
+}

Powered by Google App Engine
This is Rietveld 408576698