summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMamy Ratsimbazafy <mratsim@users.noreply.github.com>2018-07-07 15:04:41 +0200
committerGitHub <noreply@github.com>2018-07-07 15:04:41 +0200
commit75ef90da828151fa2426b3cd757da03062e026d4 (patch)
treea80bd67ce9eb0d2793e4431d6ddd6a001443418e
parent53ce58f05024743cd1dc347b2e0cd0147bdbdb1d (diff)
downloadNim-75ef90da828151fa2426b3cd757da03062e026d4.tar.gz
Put back deprecation path for SomeReal
was wrongly deleted in https://github.com/nim-lang/Nim/commit/c7298561c199255facc562402700322360408179
-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.