fixes #1888
This commit is contained in:
parent
b34bd3b163
commit
c6398d408d
9 changed files with 107 additions and 81 deletions
|
|
@ -5,12 +5,12 @@ discard """
|
|||
# Test inheritance for exception matching:
|
||||
|
||||
try:
|
||||
raise newException(EOS, "dummy message")
|
||||
except E_Base:
|
||||
raise newException(OSError, "dummy message")
|
||||
except Exception:
|
||||
echo "caught!"
|
||||
except:
|
||||
except:
|
||||
echo "wtf!?"
|
||||
|
||||
|
||||
#OUT caught!
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue