Skip to content

Commit

Permalink
don't repr when SantizeAddr is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
mratsim committed Dec 29, 2019
1 parent 1a3f990 commit bbaf716
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion weave/memory/lookaside_lists.nim
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ when isMainModule:
x.add c
x.add d

echo x.repr
when not WV_SanitizeAddr:
echo x.repr

delete(x)

0 comments on commit bbaf716

Please sign in to comment.