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
commit 75ef90da82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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.