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
Warn the user if there is any code in a given block after the default or a when { * } #5609
Comments
From @MasterDuke17This bit me at first when I was changing some conditions around. |
From @MasterDuke17On Sat Aug 20 20:13:32 2016, ddgreen@gmail.com wrote:
http://irclog.perlgeek.de/perl6/2016-08-21#i_13061970 03:10 TimToady ShimmerFairy: seems like warning after a default or a when * would make sense |
From @MasterDuke17On Sat Aug 20 20:17:46 2016, ddgreen@gmail.com wrote:
timotimo has some examples that show this is a hard problem. 10:45 timotimo m: sub the_thing { succeed }; given 42 { default { say "vroom"; the_thing }; say "doesn't get run ... ?" } |
Migrated from rt.perl.org#129025 (status was 'new')
Searchable as RT129025$
The text was updated successfully, but these errors were encountered: