Tweak reporting function call type error
This commit is contained in:
parent
d31758eb4a
commit
81825aee7f
1 changed files with 3 additions and 3 deletions
|
|
@ -542,7 +542,7 @@ namespace pslang::ast
|
||||||
std::string function_name;
|
std::string function_name;
|
||||||
|
|
||||||
if (auto identifier = std::get_if<ast::identifier>(node.function.get()))
|
if (auto identifier = std::get_if<ast::identifier>(node.function.get()))
|
||||||
function_name = identifier->name + " ";
|
function_name = "\"" + identifier->name + "\" ";
|
||||||
|
|
||||||
auto function_type = get_type(*node.function);
|
auto function_type = get_type(*node.function);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue