blob: b381bdf043dc1675c22ba3198b9a627543661af8 [file] [log] [blame]
>>> (indent 6)
if (!firstArgument.isString) {
DartType type = defaultValue.getType(compiler.coreTypes);
compiler.reportFatalError(
send.arguments.head,
MessageKind.NOT_ASSIGNABLE,
{
'fromType': type,
'toType': compiler.stringClass.rawType
});
return null;
}
<<<
if (!firstArgument.isString) {
DartType type = defaultValue.getType(compiler.coreTypes);
compiler.reportFatalError(send.arguments.head,
MessageKind.NOT_ASSIGNABLE,
{'fromType': type, 'toType': compiler.stringClass.rawType});
return null;
}