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 block location #4520

Open
coke opened this issue Oct 2, 2024 · 0 comments
Open

catch block location #4520

coke opened this issue Oct 2, 2024 · 0 comments
Labels
docs Documentation issue (primary issue type)

Comments

@coke
Copy link
Collaborator

coke commented Oct 2, 2024

https://stackoverflow.com/questions/79045361/possible-bug-with-run-as-last-statement-in-try-block brings up that

https://docs.raku.org/syntax/try%20blocks shows the catch block first, which can be jarring for new users. Should emphasize that the CATCH block has to appear in the scope you want, but at any location is fine.

@coke coke added the docs Documentation issue (primary issue type) label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation issue (primary issue type)
Projects
None yet
Development

No branches or pull requests

1 participant