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
.new of subclasses of Int returns an Int #6539
Comments
From @zoffixznet m: class Foo is Int {}; my Foo $x .= new: 42; say $x; say $x.WHAT; This was broken by the fix to make it correctly handle >64bit ints, but apparently there are even articles that show how to subclass Ints: https://irclog.perlgeek.de/perl6/2017-09-19#i_15187511 The likely fix would be Int.new changed to this: method new (Int() \value) { But that currently segfaults: https://rt-archive.perl.org/perl6/Ticket/Display.html?id=132126 |
From @zoffixznetOn Tue, 19 Sep 2017 08:23:07 -0700, cpan@zoffix.com wrote:
Fixed in: rakudo/rakudo@0834036dd4 |
From @skidsOn Tue, 19 Sep 2017 11:12:23 -0700, cpan@zoffix.com wrote:
In that case, resolving the ticket. |
The RT System itself - Status changed from 'new' to 'open' |
@skids - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#132128 (status was 'resolved')
Searchable as RT132128$
The text was updated successfully, but these errors were encountered: