mmore simplify
This commit is contained in:
parent
0ea6778d3b
commit
31918080e4
1 changed files with 1 additions and 1 deletions
|
|
@ -274,7 +274,7 @@ const function_call = function (function_name, argument_exprs) {
|
||||||
if (Object.prototype.hasOwnProperty.apply(functions, [function_name])) {
|
if (Object.prototype.hasOwnProperty.apply(functions, [function_name])) {
|
||||||
return functions[function_name](resolve_arguments(argument_exprs));
|
return functions[function_name](resolve_arguments(argument_exprs));
|
||||||
} else {
|
} else {
|
||||||
return 'unimplemented: ' + function_name + '(' + argument_exprs.map(e=>e.value_type).join(',') + ')';
|
return `unimplemented: ${function_name}(${argument_exprs.map(e=>e.value_type).join(',') })`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue