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
Smartmatch against m//
operator mishandles junctions
#6455
Comments
From @AlexDanielCode: Result: Code: Result: I'd expect the result to be identical in both cases. IRC log: https://irclog.perlgeek.de/perl6-dev/2017-08-18#i_15039736 |
From @smlsThe problem only appears if `m//` is used directly as the RHS of `~~`: $_ = 'a' | 'b'; |
The RT System itself - Status changed from 'new' to 'open' |
From @smls<smls> bisectable6: say <a b>.any ~~ m/a/; |
From @zoffixznetOn Fri, 18 Aug 2017 13:26:25 -0700, alex.jakimenko@gmail.com wrote:
This now[^1] returns True for both cases, so don't understand why and |
I thought this was related to (but maybe not): Match operator: error with any() junction and user-defined $_ topic variable
|
It's not so much "Smartmatch against I've documented the behaviour (though with the strings being
|
Migrated from rt.perl.org#131925 (status was 'open')
Searchable as RT131925$
The text was updated successfully, but these errors were encountered: