diff options
author | Dominik Picheta <dominikpicheta@googlemail.com> | 2018-07-07 14:14:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-07 14:14:32 +0100 |
commit | 73f9ce022108491994540272136bb6d454419f2a (patch) | |
tree | a80bd67ce9eb0d2793e4431d6ddd6a001443418e | |
parent | 53ce58f05024743cd1dc347b2e0cd0147bdbdb1d (diff) | |
parent | 75ef90da828151fa2426b3cd757da03062e026d4 (diff) | |
download | Nim-73f9ce022108491994540272136bb6d454419f2a.tar.gz |
Merge pull request #8239 from mratsim/patch-1
Put back deprecation path for SomeReal
-rw-r--r-- | lib/system.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/system.nim b/lib/system.nim index 15346b135..32a88de64 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -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. |