aboutsummaryrefslogtreecommitdiff
path: root/src/lists.nim
diff options
context:
space:
mode:
authorkitsunyan2019-12-20 04:35:07 +0000
committerkitsunyan2019-12-20 04:35:07 +0000
commit90d4c4be3bc15b2f594a0046c07b6f8654659ad5 (patch)
tree89a79ffa58b086e5211473bb8633f5344e39000f /src/lists.nim
parenta25e544b717edab821779b4e7d978e8bf24debcb (diff)
Add Nim 1.0 support
Diffstat (limited to 'src/lists.nim')
-rw-r--r--src/lists.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lists.nim b/src/lists.nim
index cf1b0c5..b62aa3c 100644
--- a/src/lists.nim
+++ b/src/lists.nim
@@ -42,7 +42,7 @@ static:
template testList[T](list: List[T], testSeq: openArray[T]) =
block:
let s = toSeq(list.items)
- if s != @testSeq: raise newException(SystemError, "list: " & $s)
+ if s != @testSeq: raise newException(CatchableError, "list: " & $s)
let l1 = list[int]()
testList(l1, [])