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

Side by Side Diff: test/dart_codegen/expect/d/d.dart

Issue 1010893004: Allow S->T <: dynamic->T (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Rebase and address comments Created 5 years, 9 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 | « test/dart_codegen/expect/core/uri.dart ('k') | test/dart_codegen/expect/types.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library d; 1 library d;
2 2
3 import 'a/a.dart' as DDC$a$; 3 import 'a/a.dart' as DDC$a$;
4 import 'package:dev_compiler/runtime/dart_logging_runtime.dart' as DEVC$RT; 4 import 'package:dev_compiler/runtime/dart_logging_runtime.dart' as DEVC$RT;
5 import 'b.dart'; 5 import 'b.dart';
6 6
7 void foo() { 7 void foo() {
8 var x = f3(((__x0) => DEVC$RT.cast(__x0, dynamic, DDC$a$.A, "CastGeneral", 8 var x = f3(((__x0) => DEVC$RT.cast(__x0, dynamic, DDC$a$.A, "CastGeneral",
9 """line 10, column 14 of test/dart_codegen/types/d.dart: """, 9 """line 10, column 14 of test/dart_codegen/types/d.dart: """,
10 __x0 is DDC$a$.A, true))(f4("""hello"""))); 10 __x0 is DDC$a$.A, true))(f4("""hello""")));
11 var y = f1(DEVC$RT.wrap((dynamic f(dynamic __u2)) { 11 var y = f1(DEVC$RT.wrap((dynamic f(dynamic __u2)) {
12 dynamic c(dynamic x0) => ((__x1) => DEVC$RT.cast(__x1, dynamic, DDC$a$.A, 12 dynamic c(dynamic x0) => ((__x1) => DEVC$RT.cast(__x1, dynamic, DDC$a$.A,
13 "CastResult", 13 "CastResult",
14 """line 11, column 14 of test/dart_codegen/types/d.dart: """, 14 """line 11, column 14 of test/dart_codegen/types/d.dart: """,
15 __x1 is DDC$a$.A, true))(f(x0)); 15 __x1 is DDC$a$.A, true))(f(x0));
16 return f == null ? null : c; 16 return f == null ? null : c;
17 }, f4, __t5, __t3, "Wrap", 17 }, f4, __t5, __t3, "Wrap",
18 """line 11, column 14 of test/dart_codegen/types/d.dart: """, 18 """line 11, column 14 of test/dart_codegen/types/d.dart: """,
19 f4 is __t3)); 19 f4 is __t3));
20 var z = f2(DEVC$RT.wrap((DDC$a$.A f(DDC$a$.A __u7)) { 20 var z = f2(f3);
21 DDC$a$.A c(DDC$a$.A x0) => f(DEVC$RT.cast(x0, dynamic, DDC$a$.A,
22 "CastParam",
23 """line 12, column 14 of test/dart_codegen/types/d.dart: """,
24 x0 is DDC$a$.A, true));
25 return f == null ? null : c;
26 }, f3, __t3, __t5, "Wrap",
27 """line 12, column 14 of test/dart_codegen/types/d.dart: """,
28 f3 is __t5));
29 } 21 }
30 typedef DDC$a$.A __t3(DDC$a$.A __u4); 22 typedef DDC$a$.A __t3(DDC$a$.A __u4);
31 typedef dynamic __t5(dynamic __u6); 23 typedef dynamic __t5(dynamic __u6);
OLDNEW
« no previous file with comments | « test/dart_codegen/expect/core/uri.dart ('k') | test/dart_codegen/expect/types.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698