Skip to content
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

$/ vs .hyper gets confused #4792

Closed
p6rt opened this issue Nov 27, 2015 · 5 comments
Closed

$/ vs .hyper gets confused #4792

p6rt opened this issue Nov 27, 2015 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Nov 27, 2015

Migrated from rt.perl.org#126752 (status was 'resolved')

Searchable as RT126752$

@p6rt
Copy link
Author

p6rt commented Nov 27, 2015

From zengargoyle@gmail.com

autarch noticed an oddness in File​::Temp when used with .hyper​:
https://gist.github.com/autarch/a701c62a40643169913f

Seems to be golfable to this​:

sub foo() { my $x = "*" x 2; $x ~~ s/ "*" ** 1..* /{ "+" x $/.chars
}/; $x}; (1..100).map({say foo});

Make that (1.100).hyper.map ... and bad things happen.

@p6rt
Copy link
Author

p6rt commented Mar 8, 2018

From @dogbert17

On Fri, 27 Nov 2015 12​:30​:15 -0800, zengargoyle@​gmail.com wrote​:

autarch noticed an oddness in File​::Temp when used with .hyper​:
https://gist.github.com/autarch/a701c62a40643169913f

Seems to be golfable to this​:

sub foo() { my $x = "*" x 2; $x ~~ s/ "*" ** 1..* /{ "+" x $/.chars
}/; $x}; (1..100).map({say foo});

Make that (1.100).hyper.map ... and bad things happen.

Fixed with commits 739d1a3f1c48656daf418967089e74f5f280f518 and 61a77e60a7d936415503d8916fcc7546569e9135. Tests needed.

@p6rt
Copy link
Author

p6rt commented Mar 8, 2018

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Apr 8, 2018

From @AlexDaniel

Test added in Raku/roast@1f171a9

Closing

On 2018-03-08 10​:28​:12, jan-olof.hendig@​bredband.net wrote​:

On Fri, 27 Nov 2015 12​:30​:15 -0800, zengargoyle@​gmail.com wrote​:

autarch noticed an oddness in File​::Temp when used with .hyper​:
https://gist.github.com/autarch/a701c62a40643169913f

Seems to be golfable to this​:

sub foo() { my $x = "*" x 2; $x ~~ s/ "*" ** 1..* /{ "+" x $/.chars
}/; $x}; (1..100).map({say foo});

Make that (1.100).hyper.map ... and bad things happen.

Fixed with commits 739d1a3f1c48656daf418967089e74f5f280f518 and
61a77e60a7d936415503d8916fcc7546569e9135. Tests needed.

@p6rt
Copy link
Author

p6rt commented Apr 8, 2018

@AlexDaniel - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant