mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-18 13:30:33 +00:00
no Defects in Nim 1.2
This commit is contained in:
@@ -92,10 +92,10 @@ block:
|
||||
result.add(1212)
|
||||
try:
|
||||
try:
|
||||
raise newException(AssertionDefect, "a")
|
||||
raise newException(AssertionError, "a")
|
||||
finally:
|
||||
result.add(42)
|
||||
except AssertionDefect:
|
||||
except AssertionError:
|
||||
result.add(99)
|
||||
finally:
|
||||
result.add(10)
|
||||
|
||||
Reference in New Issue
Block a user