summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-11-15 11:10:13 +0100
committerAraq <rumpf_a@web.de>2014-11-15 11:10:13 +0100
commitf7dca91344392a200392bdbd5d2d7c5167298e93 (patch)
treeff064678872c4a6ce43ee41b292d12feeb223ece /lib/system.nim
parent9e00d3aec2da69c23cdb5dba0e3f654e99ded379 (diff)
downloadNim-f7dca91344392a200392bdbd5d2d7c5167298e93.tar.gz
fixes #619
Diffstat (limited to 'lib/system.nim')
-rw-r--r--lib/system.nim5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 59a10f7e8..f268889d6 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -904,9 +904,8 @@ proc `of` *[T, S](x: T, y: S): bool {.magic: "Of", noSideEffect.}
   ## Checks if `x` has a type of `y`
   ##
   ## .. code-block:: Nim
-  ##   assert(EFloatingPoint of EBase)
-  ##   assert(EIO of ESystem)
-  ##   assert(EDivByZero of EBase)
+  ##   assert(FloatingPointError of Exception)
+  ##   assert(DivByZeroError of Exception)
 
 proc cmp*[T](x, y: T): int {.procvar.} =
   ## Generic compare proc. Returns a value < 0 iff x < y, a value > 0 iff x > y