| OLD | NEW |
| 1 // Messages from compiling types.dart | 1 // Messages from compiling types.dart |
| 2 info: line 10, column 6 of test/dart_codegen/types/c.dart: f4(3) (dynamic) will
need runtime check to cast to type A | 2 info: line 10, column 6 of test/dart_codegen/types/c.dart: [DownCast] f4(3) (dyn
amic) will need runtime check to cast to type A |
| 3 f3(f4(3)); | 3 f3(f4(3)); |
| 4 ^^^^^ | 4 ^^^^^ |
| 5 warning: line 11, column 6 of test/dart_codegen/types/c.dart: f4 ((dynamic) → dy
namic) will need to be wrapped with a closure of type (A) → A | 5 warning: line 11, column 6 of test/dart_codegen/types/c.dart: [ClosureWrap] f4 (
(dynamic) → dynamic) will need to be wrapped with a closure of type (A) → A |
| 6 f1(f4); | 6 f1(f4); |
| 7 ^^ | 7 ^^ |
| 8 warning: line 12, column 6 of test/dart_codegen/types/c.dart: f3 ((A) → A) will
need to be wrapped with a closure of type (dynamic) → dynamic | 8 warning: line 12, column 6 of test/dart_codegen/types/c.dart: [ClosureWrap] f3 (
(A) → A) will need to be wrapped with a closure of type (dynamic) → dynamic |
| 9 f2(f3); | 9 f2(f3); |
| 10 ^^ | 10 ^^ |
| 11 info: line 10, column 14 of test/dart_codegen/types/d.dart: f4("""hello""") (dyn
amic) will need runtime check to cast to type A | 11 info: line 10, column 14 of test/dart_codegen/types/d.dart: [DownCast] f4("""hel
lo""") (dynamic) will need runtime check to cast to type A |
| 12 var x = f3(f4("""hello""")); | 12 var x = f3(f4("""hello""")); |
| 13 ^^^^^^^^^^^^^^^ | 13 ^^^^^^^^^^^^^^^ |
| 14 warning: line 11, column 14 of test/dart_codegen/types/d.dart: f4 ((dynamic) → d
ynamic) will need to be wrapped with a closure of type (A) → A | 14 warning: line 11, column 14 of test/dart_codegen/types/d.dart: [ClosureWrap] f4
((dynamic) → dynamic) will need to be wrapped with a closure of type (A) → A |
| 15 var y = f1(f4); | 15 var y = f1(f4); |
| 16 ^^ | 16 ^^ |
| 17 warning: line 12, column 14 of test/dart_codegen/types/d.dart: f3 ((A) → A) will
need to be wrapped with a closure of type (dynamic) → dynamic | 17 warning: line 12, column 14 of test/dart_codegen/types/d.dart: [ClosureWrap] f3
((A) → A) will need to be wrapped with a closure of type (dynamic) → dynamic |
| 18 var z = f2(f3); | 18 var z = f2(f3); |
| 19 ^^ | 19 ^^ |
| OLD | NEW |