throw context.error(Name.NO_METHOD_ERROR, "The argument \"" +
context.getInterpreter().evaluateToString(fnArg) + "\" does not match the " +
"function's pattern " + callable.getPattern());
}
return function.invoke(context, fnArg);
}
}
// TODO(bob): More or less temporary.
@Def("canParse(source is String)")