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
reduce meta-operator fails with 'max' on list larger than 2**15 with MoarVM #3743
Comments
From dhoekman@gmail.comIn perl6 (version=2015.01-147-g949b809) under MoarVM
[min] fails as well, but [minmax] works |
From @nwc10On Wed, Mar 18, 2015 at 05:13:54AM -0700, David Hoekman wrote: Thanks for the concise and interesting bug report.
$ ./perl6-m -Ilib -e 'say [max] 1..(1+2**15)'
|
The RT System itself - Status changed from 'new' to 'open' |
From @moritzOn 03/19/2015 10:14 AM, Nicholas Clark wrote:
sounds more like the number of arguments is a signed 16 bit int Cheers, |
From @smlsNew behavior on current Rakudo: ➜ perl6-m -e 'say [max] 1..(1+2**15)' ➜ perl6-m -e 'say [max] 1..(1+2**16)' I.e. it gives a useful error message now, instead of an LTA one. So maybe this RT can be closed? On the other hand, it could be argued that the [ ] metaop should be smart enough to handle a single Range (or other lazy Iterable) argument without forcing it to eagerly flatten. |
Migrated from rt.perl.org#124108 (status was 'open')
Searchable as RT124108$
The text was updated successfully, but these errors were encountered: