WIP implementation of except ExcType as ident syntax. Refs #3691.

This commit is contained in:
Dominik Picheta 2017-02-01 00:32:56 +01:00
commit e8c46d29cd
4 changed files with 82 additions and 3 deletions

View file

@ -0,0 +1,10 @@
discard """
output: '''Hello'''
"""
try:
raise newException(Exception, "Hello")
except Exception as foobar:
echo(foobar.msg)