| OLD | NEW |
| 1 // Messages from compiling methods.dart | 1 // Messages from compiling methods.dart |
| 2 warning: line 14, column 21 of test/codegen/methods.dart: [DownCastImplicit] b (
num) will need runtime check to cast to type int | 2 warning: line 14, column 21 of test/codegen/methods.dart: [DownCastImplicit] b (
num) will need runtime check to cast to type int |
| 3 int z([num b]) => b; | 3 int z([num b]) => b; |
| 4 ^ | 4 ^ |
| 5 warning: line 19, column 12 of test/codegen/methods.dart: [DownCastImplicit] a +
b (num) will need runtime check to cast to type int | 5 warning: line 19, column 12 of test/codegen/methods.dart: [DownCastImplicit] a +
b (num) will need runtime check to cast to type int |
| 6 return a + b; | 6 return a + b; |
| 7 ^^^^^ | 7 ^^^^^ |
| 8 info: line 49, column 3 of test/codegen/methods.dart: [DynamicInvoke] f.bar("Bar
's call method!") requires dynamic invoke | 8 info: line 49, column 3 of test/codegen/methods.dart: [DynamicInvoke] f.bar("Bar
's call method!") requires dynamic invoke |
| 9 f.bar("Bar's call method!"); | 9 f.bar("Bar's call method!"); |
| 10 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | 10 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 11 info: line 57, column 11 of test/codegen/methods.dart: [DynamicInvoke] aa.x requ
ires dynamic invoke |
| 12 var h = aa.x; |
| 13 ^^^^ |
| OLD | NEW |