OLD | NEW |
(Empty) | |
| 1 >>> (indent 6) |
| 2 if (!firstArgument.isString) { |
| 3 DartType type = defaultValue.getType(compiler.coreTypes); |
| 4 compiler.reportFatalError( |
| 5 send.arguments.head, |
| 6 MessageKind.NOT_ASSIGNABLE, |
| 7 { |
| 8 'fromType': type, |
| 9 'toType': compiler.stringClass.rawType |
| 10 }); |
| 11 return null; |
| 12 } |
| 13 <<< |
| 14 if (!firstArgument.isString) { |
| 15 DartType type = defaultValue.getType(compiler.coreTypes); |
| 16 compiler.reportFatalError( |
| 17 send.arguments.head, |
| 18 MessageKind.NOT_ASSIGNABLE, |
| 19 {'fromType': type, 'toType': compiler.stringClass.rawType}); |
| 20 return null; |
| 21 } |
OLD | NEW |