mirror of https://github.com/tbklang/tlang.git
Corrected instruction counter for printCodeQueue()
This commit is contained in:
parent
9613fcf81d
commit
7ffbd6f50e
|
@ -160,7 +160,7 @@ public final class TypeChecker
|
|||
ulong i = 0;
|
||||
foreach(Instruction instruction; codeQueue)
|
||||
{
|
||||
gprintln(to!(string)(i)~"/"~to!(string)(walkLength(codeQueue[]))~": "~instruction.toString());
|
||||
gprintln(to!(string)(i+1)~"/"~to!(string)(walkLength(codeQueue[]))~": "~instruction.toString());
|
||||
i++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue