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
min(+'a', +'a').say prints Inf but should produce an error #4294
Comments
From @AlexDanielCode: Result: Normally such conversion throws an error: Result: But that's not the case in min(). I'd probably accept any other result |
From @cokeI agree that this should be throwing the same conversion error. Here's probably why it's giving Inf, though: $ perl6
-- |
1 similar comment
From @cokeI agree that this should be throwing the same conversion error. Here's probably why it's giving Inf, though: $ perl6
-- |
From @pmichaudOn Mon, Jun 08, 2015 at 06:08:33AM -0700, Will Coleda via RT wrote:
I disagree to the extent that making min() throw the conversion error seems Sometimes we speak about not having the entire rocket explode simply Perhaps an argument could be made that if min() is invoked on a list At any rate, at this moment it's more of a specification issue than an Pm |
From @cokeOn Mon Jun 08 12:02:55 2015, pmichaud wrote:
Even if this was a Failure under the covers, in his example, he's say-ing the value, which should trigger the error at the point. |
The RT System itself - Status changed from 'new' to 'open' |
From @AlexDanielBy the way, this was fixed. I'm not sure when, seems to be before 2015.10. <AlexDaniel> m: min(+'a', +'a').say So it only needs tests. |
From @zoffixznetTests added: Raku/roast@683aeeaba8 |
@zoffixznet - Status changed from 'open' to 'resolved' |
From @salortizSeems to be agreement that the following two should be True, no? min(+'a') ~~ Failure |
From @AlexDanielReopened per discussion on rakudo/rakudo#815 (comment) |
@AlexDaniel - Status changed from 'resolved' to 'open' |
From @zoffixznetThe decision has been reached and the referenced PR merged. Tests unfudged in Raku/roast@78ccae4548 Re-closing. -- |
@zoffixznet - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#125334 (status was 'resolved')
Searchable as RT125334$
The text was updated successfully, but these errors were encountered: