Skip to content

Commit

Permalink
see sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
metagn committed Aug 9, 2022
1 parent b67afeb commit 33b6f87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/vmgen.nim
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ proc genCastIntFloat(c: PCtx; n: PNode; dest: var TDest) =
genLit(c, n[1], dest)
else:
# todo: support cast from tyInt to tyRef
globalError(c.config, n.info, "VM does not support 'cast' from " & $src.kind & " to " & $dst.kind)
globalError(c.config, n.info, "VM does not support 'cast' from " & $src.kind & " to " & $dst.kind & " with sizes " & $(srcSize, dstSize))

proc genVoidABC(c: PCtx, n: PNode, dest: TDest, opcode: TOpcode) =
unused(c, n, dest)
Expand Down

0 comments on commit 33b6f87

Please sign in to comment.