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
Numeric shift +> misbehaving on parrot - Dates broken #3387
Comments
From @dwarringHi There, $ ./perl6-p -e'my $d = Date.new(:year(2012), :day(1), :month(12)); say ++$d' I've tracked this down to the usage of the bit-shift operator in method ymd-from-daycount in src/core/Temporal.pm, e.g. $day = $day - (36524 * $t + ($t +> 2)); This bug only occurs under specific circumstances. For example: my int $t = 10; # needs to be a variable of type int |
From @dwarringA fudged failing test has been added to S03-operators/numeric-shift.t On Sun May 18 21:15:19 2014, david.warring wrote:
|
From @masak<masak> p: my $d = Date.new(:year(2012), :day(1), :month(12)); say ++$d |
The RT System itself - Status changed from 'new' to 'open' |
@masak - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#121909 (status was 'resolved')
Searchable as RT121909$
The text was updated successfully, but these errors were encountered: