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

Side by Side Diff: pkg/front_end/testcases/inference/downwards_inference_on_map_literals.dart.direct.expect

Issue 2976283002: Update expectations. (Closed)
Patch Set: Update compile.status. 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
OLDNEW
(Empty)
1 library test;
2 import self as self;
3 import "dart:core" as core;
4
5 static method foo([core::Map<core::int, core::String> m1 = const <dynamic, dynam ic>{1: "hello"}, core::Map<core::int, core::String> m2 = const <dynamic, dynamic >{"hello": "world"}]) → void {}
6 static method main() → void {
7 {
8 core::Map<core::int, core::String> l0 = <dynamic, dynamic>{};
9 core::Map<core::int, core::String> l1 = <dynamic, dynamic>{3: "hello"};
10 core::Map<core::int, core::String> l2 = <dynamic, dynamic>{"hello": "hello"} ;
11 core::Map<core::int, core::String> l3 = <dynamic, dynamic>{3: 3};
12 core::Map<core::int, core::String> l4 = <dynamic, dynamic>{3: "hello", "hell o": 3};
13 }
14 {
15 core::Map<dynamic, dynamic> l0 = <dynamic, dynamic>{};
16 core::Map<dynamic, dynamic> l1 = <dynamic, dynamic>{3: "hello"};
17 core::Map<dynamic, dynamic> l2 = <dynamic, dynamic>{"hello": "hello"};
18 core::Map<dynamic, dynamic> l3 = <dynamic, dynamic>{3: 3};
19 core::Map<dynamic, dynamic> l4 = <dynamic, dynamic>{3: "hello", "hello": 3};
20 }
21 {
22 core::Map<dynamic, core::String> l0 = <dynamic, dynamic>{};
23 core::Map<dynamic, core::String> l1 = <dynamic, dynamic>{3: "hello"};
24 core::Map<dynamic, core::String> l2 = <dynamic, dynamic>{"hello": "hello"};
25 core::Map<dynamic, core::String> l3 = <dynamic, dynamic>{3: 3};
26 core::Map<dynamic, core::String> l4 = <dynamic, dynamic>{3: "hello", "hello" : 3};
27 }
28 {
29 core::Map<core::int, dynamic> l0 = <dynamic, dynamic>{};
30 core::Map<core::int, dynamic> l1 = <dynamic, dynamic>{3: "hello"};
31 core::Map<core::int, dynamic> l2 = <dynamic, dynamic>{"hello": "hello"};
32 core::Map<core::int, dynamic> l3 = <dynamic, dynamic>{3: 3};
33 core::Map<core::int, dynamic> l4 = <dynamic, dynamic>{3: "hello", "hello": 3 };
34 }
35 {
36 core::Map<core::int, core::String> l0 = <core::num, dynamic>{};
37 core::Map<core::int, core::String> l1 = <core::num, dynamic>{3: "hello"};
38 core::Map<core::int, core::String> l3 = <core::num, dynamic>{3: 3};
39 }
40 {
41 const core::Map<core::int, core::String> l0 = const <dynamic, dynamic>{};
42 const core::Map<core::int, core::String> l1 = const <dynamic, dynamic>{3: "h ello"};
43 const core::Map<core::int, core::String> l2 = const <dynamic, dynamic>{"hell o": "hello"};
44 const core::Map<core::int, core::String> l3 = const <dynamic, dynamic>{3: 3} ;
45 const core::Map<core::int, core::String> l4 = const <dynamic, dynamic>{3: "h ello", "hello": 3};
46 }
47 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698