Skip to content
Snippets Groups Projects
Commit b8ab6de2 authored by Mattias Ajander's avatar Mattias Ajander
Browse files

Proper string cast for to_s function

parent 61bf4b07
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ Node* LiteralNode::evaluate()
String LiteralNode::to_s() const
{
return std::get<String>(value);
return cast<String>();
}
NodeValue LiteralNode::get_value() const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment