Small addition to error message

This commit is contained in:
Nathan Braswell
2016-04-04 15:27:39 -04:00
parent 09158cd2b9
commit 0e9fff705b

View File

@@ -863,7 +863,7 @@ obj ast_transformation (Object) {
search_type::function(type_vec) result = find_or_instantiate_template_function(concat_symbol_tree(identifier), template_inst, scope, type_vec, template_replacements, map<string, *type>()) search_type::function(type_vec) result = find_or_instantiate_template_function(concat_symbol_tree(identifier), template_inst, scope, type_vec, template_replacements, map<string, *type>())
} }
if (!result) if (!result)
error("Could not find templated function even though had a template_inst") error("Could not find templated function " + concat_symbol_tree(identifier) + " even though had a template_inst")
return result return result
} }
var check_if_post = concat_symbol_tree(node->children[1]) var check_if_post = concat_symbol_tree(node->children[1])