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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « pkg/kernel/testcases/closures_initializers/local_initializers.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 library;
2 import self as self;
3 import "dart:core" as core;
4
5 class X extends core::Object {
6 constructor •() → void
7 : super core::Object::•()
8 ;
9 }
10 class A extends core::Object {
11 field self::X foo = null;
12 constructor named(self::X foo) → void
13 : super core::Object::•() {}
14 constructor •(self::X foo) → void
15 : dynamic extracted#0 = () → self::X
16 throw "Calling unconverted closure at pkg/kernel/testcases/closures_initia lizers/local_initializers.dart:17:26";
17 .call(), this self::A::named(extracted#0)
18 ;
19 }
20 static method main() → dynamic {
21 self::A a = new self::A::•(new self::X::•());
22 a.foo;
23 }
OLDNEW
« 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