On Sun, 11 Dec 2016 11:52:40 -0800, moritz wrote:
> < moritz> m: say Date.new('2017-02-29')
> <+camelia> rakudo-moar 8d4dbb: OUTPUT«Day out of range. Is: 29, should
> be
> in 1..28 in block <unit> at <tmp> line 1»
> < moritz> m: say Date.new(year => 2017, month => 42, day => 29)
> <+camelia> rakudo-moar 8d4dbb: OUTPUT«2017-42-29»
>
> All constructor variants should do the same bounds checking for month
> and day.
>
> An automatic bisect [1] identified this commit [2] as the culprit.
>
> [1]
> https://gist.github.com/Whateverable/7e080e976a205a729d77e335428f8f6b
> [2]
> https://github.com/rakudo/rakudo/commit/585619f35acc136ad96900f09ebaba2627389942
Thank you for the report. This is now fixed \o/
Fix: https://github.com/rakudo/rakudo/commit/aa27d5ce94
Tests: https://github.com/perl6/roast/commit/fecfa6518b