-
Notifications
You must be signed in to change notification settings - Fork 1
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
xx
with large Int repeat count gives bogus results
#6136
Comments
From @zoffixznet15:53 m: dd (($++ ?? 42 !! |()) xx 9999999999999999999)[^4] Also, giving huge values that don't yet trigger the above bug causes a hang, m: dd (($++ ?? 42 !! |()) xx 99999999999999)[^4] |
From @lizmat
Turning xx into a Seq is already on my radar and I already have a patch for it. But first I needed to make sure that HYPER could handle Seq’s as a result of the infix op. That’s been fixed now. Currently look at one other spectest fail. |
The RT System itself - Status changed from 'new' to 'open' |
From @lizmatThe 42 xx 999999999999999 case is fixed with rakudo/rakudo@f190f241e0 . Not having an Empty indicate the end can only be done by breaking at least two spectests. Also: (|(),) xx 42 would then hang. So this feels like something that cannot be fixed generally, unless we accept the hanging behaviour of this example. I also have a patch for the thunked version of xx. But alas, this still breaks a couple of spectests that do: my $a = 0; ($a++,) xx 42; # note the xx Seq is in sink context So for some reason, it looks like the Seq.sink-all is not doing any pull-one’s. Still investigating!
|
Migrated from rt.perl.org#130956 (status was 'open')
Searchable as RT130956$
The text was updated successfully, but these errors were encountered: