| 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: [DownCast] f4(3) (dyn
amic) 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: [ClosureWrap] f4 (
(dynamic) → dynamic) 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: [ClosureWrap] f3 (
(A) → A) will need to be wrapped with a closure of type (dynamic) → dynamic | |
| 9 f2(f3); | |
| 10 ^^ | |
| 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 | 8 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""")); | 9 var x = f3(f4("""hello""")); |
| 13 ^^^^^^^^^^^^^^^ | 10 ^^^^^^^^^^^^^^^ |
| 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 | 11 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); | 12 var y = f1(f4); |
| 16 ^^ | 13 ^^ |
| 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); | |
| 19 ^^ | |
| OLD | NEW |