mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-07 13:33:22 +00:00
there is no IndexDefect in 1.0
This commit is contained in:
@@ -598,6 +598,6 @@ block t18643:
|
||||
let b = 9999999
|
||||
try:
|
||||
echo a[b]
|
||||
except IndexDefect:
|
||||
except IndexError:
|
||||
caught = true
|
||||
doAssert caught, "IndexDefect not caught!"
|
||||
|
||||
Reference in New Issue
Block a user