system.nim cleanup some exported constants which should never have be… (#17909)
* system.nim cleanup some exported constants which should never have been exported
This commit is contained in:
parent
a55c7e9679
commit
fb86271556
10 changed files with 32 additions and 29 deletions
|
|
@ -31,7 +31,7 @@ import macros
|
|||
macro skipElse(n: untyped): untyped = n[0]
|
||||
|
||||
template acceptWithCovariance(x, otherwise): untyped =
|
||||
when nimEnableCovariance:
|
||||
when defined nimEnableCovariance:
|
||||
x
|
||||
else:
|
||||
reject(x)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue