From bbaf716491234be1f499f145a5872445c4575e42 Mon Sep 17 00:00:00 2001 From: mMay Date: Sun, 29 Dec 2019 23:02:56 +0100 Subject: [PATCH] don't repr when SantizeAddr is defined --- weave/memory/lookaside_lists.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/weave/memory/lookaside_lists.nim b/weave/memory/lookaside_lists.nim index 7e076fb..1d57077 100644 --- a/weave/memory/lookaside_lists.nim +++ b/weave/memory/lookaside_lists.nim @@ -188,6 +188,7 @@ when isMainModule: x.add c x.add d - echo x.repr + when not WV_SanitizeAddr: + echo x.repr delete(x)