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

Can't use the sub form of push(@*INC, @list) #523

Closed
p6rt opened this issue Dec 22, 2008 · 3 comments
Closed

Can't use the sub form of push(@*INC, @list) #523

p6rt opened this issue Dec 22, 2008 · 3 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Dec 22, 2008

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

Searchable as RT61608$

@p6rt
Copy link
Author

p6rt commented Dec 22, 2008

From @moritz

Rakudo r34146​:

$ ./perl6 -e '@​*INC.push("b")' # lives, rakudo++
$ ./perl6 -e 'my @​a; push(@​a, "b")' # also works
$ ./perl6 -e 'push(@​*INC, "b")'
No applicable methods.

current instr.​: '_block14' pc 71 (EVAL_13​:42)
called from Sub 'parrot;PCT;HLLCompiler;eval' pc 892
(src/PCT/HLLCompiler.pir​:508)
called from Sub 'parrot;PCT;HLLCompiler;command_line' pc 1436
(src/PCT/HLLCompiler.pir​:768)
called from Sub 'parrot;Perl6;Compiler;main' pc 18688 (perl6.pir​:162)
*** glibc detected *** corrupted double-linked list​: 0x09be32a8 ***
Aborted

Moritz

@p6rt
Copy link
Author

p6rt commented Dec 22, 2008

From @pmichaud

Fixed in r34247, thanks!

Pm

@p6rt
Copy link
Author

p6rt commented Dec 22, 2008

@pmichaud - Status changed from 'new' to 'resolved'

@p6rt p6rt closed this as completed Dec 22, 2008
@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant