mirror of
https://github.com/status-im/nim-stew.git
synced 2025-01-23 10:29:44 +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
|
||||
ReraiseDefect* = ReraiseError
|
||||
StackOverflowDefect* = StackOverflowError
|
||||
else:
|
||||
{.used.}
|
||||
|
Loading…
x
Reference in New Issue
Block a user