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
Can't call .WHICH on Iteratable or Iterator due to accidental punning #4741
Comments
From @TimToady21:25 < TimToady> m: say Iterable === Any |
From @jnthnOn Mon Nov 09 22:21:58 2015, larry wrote:
Well, trying to pun the role is the correct behavior on method calls on it, in general. We maintained a rather short list of methods that did not trigger punning; I've just expanded it quite a bit to include things people are likely to not want it to pun on, including .WHICH. The behavior for calling .foo is correct: it should try to pun and fail due to the missing method. Tests in S14-roles/stubs.t. |
The RT System itself - Status changed from 'new' to 'open' |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#126606 (status was 'resolved')
Searchable as RT126606$
The text was updated successfully, but these errors were encountered: