mirror of
https://github.com/codex-storage/constantine.git
synced 2025-01-14 13:04:42 +00:00
fix testing canary
This commit is contained in:
parent
d622f48507
commit
49164b66d8
@ -26,6 +26,6 @@ else:
|
|||||||
func canary*(T: typedesc): T =
|
func canary*(T: typedesc): T =
|
||||||
when T is BigInt:
|
when T is BigInt:
|
||||||
for i in 0 ..< result.limbs.len:
|
for i in 0 ..< result.limbs.len:
|
||||||
result.limbs[0] = Canary
|
result.limbs[i] = Canary
|
||||||
else:
|
else:
|
||||||
{.error: "Not implemented".}
|
{.error: "Not implemented".}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user