mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
Put back deprecation path for SomeReal
was wrongly deleted in c7298561c1
This commit is contained in:
committed by
GitHub
parent
53ce58f050
commit
75ef90da82
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user