mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-06 13:07:48 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user