diff options
Diffstat (limited to 'lib/system.nim')
-rw-r--r-- | lib/system.nim | 5 |
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 |