Raku / old-issue-tracker

Tickets from RT
https://github.com/Raku/old-issue-tracker/issues
2 stars 1 forks source link

`slip` ignores containerization #6262

Open p6rt opened 7 years ago

p6rt commented 7 years ago

Migrated from rt.perl.org#131344 (status was 'new')

Searchable as RT131344$

p6rt commented 7 years ago

From @dogbert17

# system dogbert@​dogbert-VirtualBox ~ $ perl6 -v This is Rakudo version 2017.05-30-g32eb285f1 built on MoarVM version 2017.05 implementing Perl 6.c.

# the problem take one dogbert@​dogbert-VirtualBox ~ $ perl6 -e 'my $l = (1, 2, 3); say (0, slip $l).perl' (0, 1, 2, 3)

# the problem take two dogbert@​dogbert-VirtualBox ~ $ perl6 -e 'my $l = (1, 2, 3); say (0, $(slip $l)).perl' (0, 1, 2, 3)

There's reason to suspect that the correct result, in both cases, should have been (0, $(1, 2, 3))

Zoffix++ found a suspicious commit, i.e. https://github.com/rakudo/rakudo/commit/37d0e4661414de827de35835de2e77a81d1d23df