blob: 755c9403c2e89d472df90f1a83bf8bf15272a57c [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;
}