mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-13 23:03:36 +00:00
Merge pull request #8239 from mratsim/patch-1
Put back deprecation path for SomeReal
This commit is contained in:
@@ -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