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::•()); |
+} |