Put back deprecation path for SomeReal

was wrongly deleted in c7298561c1
This commit is contained in:
Mamy Ratsimbazafy
2018-07-07 15:04:41 +02:00
committed by GitHub
parent 53ce58f050
commit 75ef90da82

View File

@@ -106,6 +106,8 @@ type
SomeNumber* = SomeInteger|SomeFloat
## type class matching all number types
{.deprecated: [SomeReal: SomeFloat].}
proc defined*(x: untyped): bool {.magic: "Defined", noSideEffect, compileTime.}
## Special compile-time procedure that checks whether `x` is
## defined.