diff options
author | LemonBoy <thatlemon@gmail.com> | 2019-01-29 13:04:21 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-01-30 10:01:59 +0100 |
commit | fa7b75782361fb31e74117a7e84ebe8fcda922c0 (patch) | |
tree | c8416f8d720fc9696d14bf995540e4c64903f349 /lib | |
parent | 49710b9d14291389529cdc627c21a25a99ff238d (diff) | |
download | Nim-fa7b75782361fb31e74117a7e84ebe8fcda922c0.tar.gz |
Remove unused variable
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim index a7cf251f6..b9be52308 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -4407,7 +4407,7 @@ template doAssertRaises*(exception: typedesc, code: untyped): typed = wrong = true except exception: discard - except Exception as exc: + except Exception: raiseAssert(astToStr(exception) & " wasn't raised, another error was raised instead by:\n"& astToStr(code)) |