Caught a bug that the test cases failed to find

This commit is contained in:
2023-03-17 21:58:13 +11:00
parent 1095e1a885
commit 17f0e4476b

View File

@@ -658,7 +658,7 @@ static Toy_Opcode castingInfix(Toy_Parser* parser, Toy_ASTNode** nodeHandle) {
break;
case TOY_TOKEN_LITERAL_STRING:
atomic(parser, nodeHandle);
string(parser, nodeHandle);
break;
default: