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

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

Issue 1038583004: Rationalize coercions (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Rebase 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
OLDNEW
1 library c; 1 library c;
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 bar() { 7 void bar() {
8 f3(((__x0) => DEVC$RT.cast(__x0, dynamic, DDC$a$.A, "CastGeneral", 8 f3(((__x0) => DEVC$RT.cast(__x0, dynamic, DDC$a$.A, "DynamicCast",
9 """line 10, column 6 of test/dart_codegen/types/c.dart: """, 9 """line 10, column 6 of test/dart_codegen/types/c.dart: """,
10 __x0 is DDC$a$.A, true))(f4(3))); 10 __x0 is DDC$a$.A, true))(f4(3)));
11 f1(DEVC$RT.wrap((dynamic f(dynamic __u2)) { 11 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 6 of test/dart_codegen/types/c.dart: """, 14 """line 11, column 6 of test/dart_codegen/types/c.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 6 of test/dart_codegen/types/c.dart: """, f4 is __t3)); 18 """line 11, column 6 of test/dart_codegen/types/c.dart: """, f4 is __t3));
19 f2(f3); 19 f2(f3);
20 } 20 }
21 typedef DDC$a$.A __t3(DDC$a$.A __u4); 21 typedef DDC$a$.A __t3(DDC$a$.A __u4);
22 typedef dynamic __t5(dynamic __u6); 22 typedef dynamic __t5(dynamic __u6);
OLDNEW
« no previous file with comments | « test/dart_codegen/expect/async/zone.dart ('k') | test/dart_codegen/expect/collection/hash_map.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698