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

Side by Side Diff: pkg/front_end/testcases/inference/infer_assign_to_index_this_upwards.dart.outline.expect

Issue 2938443003: Add type inference for assignments to `this[...]` (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
OLDNEW
(Empty)
1 library test;
2 import self as self;
3 import "dart:core" as core;
4
5 abstract class Test1 extends core::Object {
6 constructor •() → void
7 ;
8 abstract operator [](core::String s) → core::int;
9 abstract operator []=(core::String s, core::int v) → void;
10 method test() → void
11 ;
12 }
13 abstract class Test2 extends core::Object {
14 constructor •() → void
15 ;
16 abstract operator [](core::String s) → core::int;
17 abstract operator []=(core::String s, core::num v) → void;
18 method test() → void
19 ;
20 }
21 abstract class Test3 extends core::Object {
22 constructor •() → void
23 ;
24 abstract operator [](core::String s) → core::int;
25 abstract operator []=(core::String s, core::double v) → void;
26 method test() → void
27 ;
28 }
29 abstract class Test4 extends core::Object {
30 constructor •() → void
31 ;
32 abstract operator [](core::String s) → core::num;
33 abstract operator []=(core::String s, core::int v) → void;
34 method test() → void
35 ;
36 }
37 abstract class Test5 extends core::Object {
38 constructor •() → void
39 ;
40 abstract operator [](core::String s) → core::num;
41 abstract operator []=(core::String s, core::num v) → void;
42 method test() → void
43 ;
44 }
45 abstract class Test6 extends core::Object {
46 constructor •() → void
47 ;
48 abstract operator [](core::String s) → core::num;
49 abstract operator []=(core::String s, core::double v) → void;
50 method test() → void
51 ;
52 }
53 abstract class Test7 extends core::Object {
54 constructor •() → void
55 ;
56 abstract operator [](core::String s) → core::double;
57 abstract operator []=(core::String s, core::int v) → void;
58 method test() → void
59 ;
60 }
61 abstract class Test8 extends core::Object {
62 constructor •() → void
63 ;
64 abstract operator [](core::String s) → core::double;
65 abstract operator []=(core::String s, core::num v) → void;
66 method test() → void
67 ;
68 }
69 abstract class Test9 extends core::Object {
70 constructor •() → void
71 ;
72 abstract operator [](core::String s) → core::double;
73 abstract operator []=(core::String s, core::double v) → void;
74 method test() → void
75 ;
76 }
77 static method getInt() → core::int
78 ;
79 static method getNum() → core::num
80 ;
81 static method getDouble() → core::double
82 ;
83 static method main() → dynamic
84 ;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698