-
Notifications
You must be signed in to change notification settings - Fork 1
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
says "a comparison throws exception if either of its arguments is undefined" #2445
Comments
From @ronaldxsIn the spec here http://perlcabal.org/syn/S03.html#Comparison_semantics As discussed on IRC here that does not match implementation or The current implementation does: 12:43 PhatEddy |
From @cokeOn Sun Jul 03 12:27:51 2011, ronaldxs wrote:
Spec now says:
Does that make this closable?
-- |
The RT System itself - Status changed from 'new' to 'open' |
From @FROGGSTimToady: yes, comparisons should return failure, not automatically |
From @ronaldxsOn Sat May 11 13:48:34 2013, FROGGS.de wrote:
It throws an appropriate exception now. I think if a qualified person looked at this ticket they could close it. Ron |
From @cokeOn Sat Jun 13 14:37:03 2015, ronaldxs wrote:
Note that the sample code needs to be formatted thusly:
This seems to jibe with expectations. Added tests to S03-operators/misc.t .... but a nearly identical test for Str doesn't fail the same way. Test todo'd, needs some work. |
From @usev6On Fri Jul 10 14:20:06 2015, coke wrote:
As far as I understand, the current implementation does not match the design My -- maybe naive -- idea would be to add appropriate multi candidates for diff --git a/src/core/Stringy.pm b/src/core/Stringy.pm proto sub infix:<gt>(Mu Maybe someone qualified can comment on this idea? I'd be willing to work on the Christian |
From @usev6Oh, and this comment fomr RT |
1 similar comment
From @usev6Oh, and this comment fomr RT |
@diakopter - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#93978 (status was 'resolved')
Searchable as RT93978$
The text was updated successfully, but these errors were encountered: