Updated docs

This commit is contained in:
2026-05-25 12:14:22 +10:00
parent d3616b07b2
commit 87185210f9
3 changed files with 22 additions and 4 deletions
+1
View File
@@ -763,6 +763,7 @@ static unsigned int writeInstructionForThen(Toy_Bytecode** mb, Toy_AstForThen as
emitString(mb, ast.condBranch->iterable.left->varDeclare.name);
//TODO: use a different approach
//BUGFIX: shadow the iterable's name
EMIT_BYTE(mb, code, TOY_OPCODE_READ);
EMIT_BYTE(mb, code, TOY_VALUE_NULL);