diff options
-rw-r--r-- | compiler/vm.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/vm.nim b/compiler/vm.nim index 0a1ee0a1a..94891feb2 100644 --- a/compiler/vm.nim +++ b/compiler/vm.nim @@ -427,7 +427,7 @@ proc rawExecute(c: PCtx, start: int, tos: PStackFrame): PNode = regs[ra].intVal = regs[rb].skipMeta.len - imm of opcLenStr: decodeBImm(nkIntLit) - assert regs[rb].kind == nkStrLit + assert regs[rb].kind in {nkStrLit..nkTripleStrLit} regs[ra].intVal = regs[rb].strVal.len - imm of opcIncl: decodeB(nkCurly) |