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
Pair.perl confused by some type objects #5600
Comments
From zefram@fysh.orgPair.perl produces incorrect output for some type objects:
Following the fix for [perl #126890] it's correct for most type objects:
but if given the type object for a type that .^does(Numeric) it mistakes If the type object is Num, it gets into another special-case code branch:
There's a related failure resulting from mistaking the Str type object
and another resulting from mistaken handling of the Bool type object in
There needs to be some :D or equivalent on all of these type checks. -zefram |
From @skidsOn Fri, 19 Aug 2016 19:00:53 -0700, zefram@fysh.org wrote:
Fixed in 2017.6 or thereabouts. Tests needed. |
The RT System itself - Status changed from 'new' to 'open' |
From zefram@fysh.orgBrian S. Julin via RT wrote:
Specifically commit c6b03c45c7173e21be6c53fc629fa27f2676c76a, dated -zefram |
From @skidsOn Mon, 11 Sep 2017 13:35:54 -0700, zefram@fysh.org wrote:
Tests added in roast 9a09b4ee, resolving this ticket. |
From @skidsOn Mon, 11 Sep 2017 16:53:15 -0700, bri@abrij.org wrote:
ACTUALLY resolving this ticket :-) |
@skids - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#129008 (status was 'resolved')
Searchable as RT129008$
The text was updated successfully, but these errors were encountered: