Opaque type check added

This commit is contained in:
2023-02-18 15:21:49 +00:00
parent 49f240ea07
commit 8a68d864e6
3 changed files with 7 additions and 3 deletions

View File

@@ -2316,7 +2316,6 @@ static void readInterpreterSections(Toy_Interpreter* interpreter) {
//change the type to normal
interpreter->literalCache.literals[i] = TOY_TO_FUNCTION_LITERAL(bytes, size);
TOY_AS_FUNCTION(interpreter->literalCache.literals[i]).scope = NULL;
}
}