Skip to content

Commit

Permalink
fixes ensureMove
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout committed Feb 12, 2025
1 parent 3f687a6 commit bb5789a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hexer/duplifier.nim
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,7 @@ proc trEnsureMove(c: var Context; n: var Cursor; e: Expects) =
let m = "not the last usage of: " & toString(n, false)
c.dest.buildTree ErrT, info:
c.dest.add strToken(pool.strings.getOrIncl(m), info)
skip n

proc tr(c: var Context; n: var Cursor; e: Expects) =
if n.kind == Symbol:
Expand Down

0 comments on commit bb5789a

Please sign in to comment.