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

Unified Diff: pkg/kernel/testcases/closures_initializers/local_initializers.dart.expect

Issue 2944433002: Add tests for handling closures in LocalInitializers (Closed)
Patch Set: Merge in latest changes in master (e340ee517a) Created 3 years, 5 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/kernel/testcases/closures_initializers/local_initializers.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/testcases/closures_initializers/local_initializers.dart.expect
diff --git a/pkg/kernel/testcases/closures_initializers/local_initializers.dart.expect b/pkg/kernel/testcases/closures_initializers/local_initializers.dart.expect
new file mode 100644
index 0000000000000000000000000000000000000000..9d16d53f778e760b6bf835b6c8358a552ca6e068
--- /dev/null
+++ b/pkg/kernel/testcases/closures_initializers/local_initializers.dart.expect
@@ -0,0 +1,23 @@
+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 foo = null;
+ constructor named(self::X foo) → void
+ : super core::Object::•() {}
+ constructor •(self::X foo) → void
+ : dynamic extracted#0 = () → self::X
+ throw "Calling unconverted closure at pkg/kernel/testcases/closures_initializers/local_initializers.dart:17:26";
+.call(), this self::A::named(extracted#0)
+ ;
+}
+static method main() → dynamic {
+ self::A a = new self::A::•(new self::X::•());
+ a.foo;
+}
« no previous file with comments | « pkg/kernel/testcases/closures_initializers/local_initializers.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698