Raku / doc

🦋 Raku documentation
https://docs.raku.org/
Artistic License 2.0
291 stars 293 forks source link

catch block location #4520

Open coke opened 2 months ago

coke commented 2 months ago

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.