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
Mu should smartmatch #3460
Comments
From @cokeWe have tests in S03-smartmatch/any-num.t that expect to be able to ok (Mu ~~ 0), 'Mu ~~ 0'; but 21:05 < [Coke]> m: Mu ~~ 0 and 21:05 < [Coke]> ^^ tests expect this to work. that has a test in S03-smartmatch/any-str.t -- |
From @moritzOn 07/25/2014 03:12 AM, Will Coleda (via RT) wrote:
If we made this work, then 1|2|3 ~~ 2 wouldn't autothread anymore. I'm in favor of leaving things as they are, and change the test to use Cheers, |
The RT System itself - Status changed from 'new' to 'open' |
From @FROGGSIs the LHS supposed to autothread? |
From @TimToady5a534d65ffa6277ee0ddb408f3216852e9c88edb changes things so Mu ~~ 0 and such is always false by default. In general having defined things accept undefined things is problematic. |
From @TimToadyMu ~~ 0 now works but will always return False, since we don't want people to start using Mu as a numeric semipredicate. |
1 similar comment
From @TimToadyMu ~~ 0 now works but will always return False, since we don't want people to start using Mu as a numeric semipredicate. |
@TimToady - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#122395 (status was 'resolved')
Searchable as RT122395$
The text was updated successfully, but these errors were encountered: