Skip to content

Conversation

@eric-therond
Copy link
Contributor

No description provided.

@eric-therond eric-therond changed the title throw is an expr instead or stmt throw is an expr instead of stmt Jan 17, 2025
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please also test the case where it's used as an expression? Something like $x or throw Exception()?

@eric-therond
Copy link
Contributor Author

Hi @nikic
I added the test case you requested
can I do something more on this PR ?

thanks

@nikic nikic merged commit 65b1310 into ircmaxell:master Mar 4, 2025
6 checks passed
@eric-therond eric-therond deleted the throwexpr branch June 20, 2025 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants