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

Side by Side Diff: pkg/front_end/testcases/inference/call_corner_cases.dart.strong.expect

Issue 2928613003: Fix corner cases of type inference with implicit references to `.call`. (Closed)
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « pkg/front_end/testcases/inference/call_corner_cases.dart.outline.expect ('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 test;
2 import self as self;
3 import "dart:core" as core;
4
5 class A extends core::Object {
6 constructor •() → void
7 : super core::Object::•()
8 ;
9 method call() → core::int
10 return 0;
11 }
12 class B extends core::Object {
13 constructor •() → void
14 : super core::Object::•()
15 ;
16 get call() → self::A
17 return new self::A::•();
18 }
19 class D extends core::Object {
20 field self::A fieldA = new self::A::•();
21 field self::B fieldB = new self::B::•();
22 constructor •() → void
23 : super core::Object::•()
24 ;
25 get getA() → self::A
26 return new self::A::•();
27 get getB() → self::B
28 return new self::B::•();
29 }
30 static method main() → dynamic {
31 core::int callA = new self::A::•().{self::A::call}();
32 dynamic callB = new self::B::•().{self::B::call}();
33 core::int callFieldA = new self::D::•().fieldA();
34 core::int callGetA = new self::D::•().{self::D::getA}();
35 dynamic callFieldB = new self::D::•().fieldB();
36 dynamic callGetB = new self::D::•().{self::D::getB}();
37 }
OLDNEW
« no previous file with comments | « pkg/front_end/testcases/inference/call_corner_cases.dart.outline.expect ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698