summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@googlemail.com>2018-07-07 14:14:32 +0100
committerGitHub <noreply@github.com>2018-07-07 14:14:32 +0100
commit73f9ce022108491994540272136bb6d454419f2a (patch)
treea80bd67ce9eb0d2793e4431d6ddd6a001443418e
parent53ce58f05024743cd1dc347b2e0cd0147bdbdb1d (diff)
parent75ef90da828151fa2426b3cd757da03062e026d4 (diff)
downloadNim-73f9ce022108491994540272136bb6d454419f2a.tar.gz
Merge pull request #8239 from mratsim/patch-1
Put back deprecation path for SomeReal
-rw-r--r--lib/system.nim2
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.