Fixes #138
However, the issue does not describe the problem accurately, see the summary.
Summary
Match arms can have a condition without an explicit type as a condition.
However, this was not the case for exceptions.
I opted to allow this, and these arms become generic catchall arms which handle all exceptions.
Also fix indentation error when outputting dictionaries.
Added Tests
Test to verify that we can have a match arm condition without a type
Test to verify that we can have a handle arm condition without a type, which should become a catchall arm which handles all exceptions types (except Exception as <id>).
Relevant issues
Fixes #138 However, the issue does not describe the problem accurately, see the summary.
Summary
Match arms can have a condition without an explicit type as a condition. However, this was not the case for exceptions. I opted to allow this, and these arms become generic catchall arms which handle all exceptions.
Also fix indentation error when outputting dictionaries.
Added Tests
except Exception as <id>
).