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
Hypered conditional method calls ».?foo
don't respect nodal methods
#6058
Comments
From @jdv[jdv@new-host-2 ~]$ perl6 -e '(<a b>, <c d e>).values>>.elems.say' |
From @smlsThe reason ».elems doesn't descend into the sub-lists, is that the `elems` method is declared with the `is nodal` trait, as described in S03 [1]. The design docs on the `.?` method call form [2] don't explicitly say whether it should also respect nodality when used with the hyper operator like this, but it seems reasonable to expect that `.?` and `.` would behave identically when the method exists. [1] https://design.perl6.org/S03.html#Structural_unary_hyper_operators |
The RT System itself - Status changed from 'new' to 'open' |
From @zoffixznetOn Sun, 05 Feb 2017 13:22:13 -0800, jdv79 wrote:
Thank you for the report. This is now fixed. Fix: rakudo/rakudo@3c4041eab5eaedb |
@zoffixznet - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#130721 (status was 'resolved')
Searchable as RT130721$
The text was updated successfully, but these errors were encountered: