Merge pull request #8239 from mratsim/patch-1
Put back deprecation path for SomeReal
This commit is contained in:
commit
73f9ce0221
1 changed files with 2 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue