Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

catch multiple type support #101

Closed
jakubmisek opened this issue Nov 17, 2017 · 1 comment
Closed

catch multiple type support #101

jakubmisek opened this issue Nov 17, 2017 · 1 comment
Assignees
Labels

Comments

@jakubmisek
Copy link
Member

currently multiple types specified in catch block are not supported

try {}
catch (A|B $ex) {}

expected: compiles successfully
actual: compiler throws an unexpected value exception in EmitClassName

@jakubmisek jakubmisek self-assigned this Nov 17, 2017
jakubmisek added a commit that referenced this issue Nov 17, 2017
@jakubmisek
Copy link
Member Author

implemented in d2832ea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant