there is no IndexDefect in 1.0

This commit is contained in:
narimiran
2021-08-24 11:05:29 +02:00
parent 22e71cbc0f
commit d5a7fb8ea0

View File

@@ -598,6 +598,6 @@ block t18643:
let b = 9999999
try:
echo a[b]
except IndexDefect:
except IndexError:
caught = true
doAssert caught, "IndexDefect not caught!"