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

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

Issue 1038583004: Rationalize coercions (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Rebase Created 5 years, 8 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 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, "DynamicCast",
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(f3); 20 var z = f2(f3);
21 } 21 }
22 typedef DDC$a$.A __t3(DDC$a$.A __u4); 22 typedef DDC$a$.A __t3(DDC$a$.A __u4);
23 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/math/jenkins_smi_hash.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698