mirror of
https://github.com/status-im/nim-stew.git
synced 2025-01-23 18:39:28 +00:00
add {.used.} to stddefects for nim 1.4 and above
This commit is contained in:
parent
6cc42beac7
commit
c52569abd5
@ -21,3 +21,5 @@ when (NimMajor, NimMinor) < (1, 4):
|
|||||||
RangeDefect* = RangeError
|
RangeDefect* = RangeError
|
||||||
ReraiseDefect* = ReraiseError
|
ReraiseDefect* = ReraiseError
|
||||||
StackOverflowDefect* = StackOverflowError
|
StackOverflowDefect* = StackOverflowError
|
||||||
|
else:
|
||||||
|
{.used.}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user