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
"where" clauses are parsed, but not enforced, in "my" expressions #5571
Comments
From @timo gfldex: m: dd my ($i, $k where * == 4) = (1,3); dd $i, $k Shouldn't allow $k to be bound to any value that doesn't numify to 4, Alternatively (or "in the mean time") it should probably complain that |
@coke - Status changed from 'new' to 'open' |
From @zoffixznetOn Sun, 14 Aug 2016 18:19:44 -0700, timo wrote:
It is implemented and works for single variables. The bug occurs whenever the my is done on several variables. And I can't get it to dump the parse tree, as it hangs (perhaps related to the bug?): This is the shortest hanging golf I got: ./perl6 --target=parse -e 'my ( |
From @zoffixznetOn Sun, 04 Dec 2016 01:21:56 -0800, cpan@zoffix.com wrote:
Using fix: Fix postconstraints in `my (...)` being ignored Thank you for the report. This is now fixed in branch `post-release`. Fix: rakudo/rakudo@3745eff13a21ad8 |
@zoffixznet - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#128935 (status was 'resolved')
Searchable as RT128935$
The text was updated successfully, but these errors were encountered: