Remove side-effects from sysFatal with panics on (#20632)
This commit is contained in:
parent
6d8178a93e
commit
4578e773ce
2 changed files with 25 additions and 16 deletions
8
tests/exception/t20613.nim
Normal file
8
tests/exception/t20613.nim
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
discard """
|
||||
matrix: "; --panics:on"
|
||||
"""
|
||||
|
||||
func test =
|
||||
if 0 > 10:
|
||||
raiseAssert "hey"
|
||||
test()
|
||||
Loading…
Add table
Add a link
Reference in a new issue