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

Rakudo can't handle ::$x() where $x isa Str #908

Closed
p6rt opened this issue Apr 19, 2009 · 5 comments
Closed

Rakudo can't handle ::$x() where $x isa Str #908

p6rt opened this issue Apr 19, 2009 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Apr 19, 2009

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

Searchable as RT64846$

@p6rt
Copy link
Author

p6rt commented Apr 19, 2009

From @masak

<moritz_> rakudo​: sub foo { say "bar" }; my $x = 'foo'; :​:$x()
<p6eval> rakudo df8662​: OUTPUT«ResizablePMCArray​: Can't pop from an
empty array! [...]
<moritz_> that looks a bit like a bug
* moritz_ summons masak
<masak> moritz_​: oh hai.
* masak submits

@p6rt
Copy link
Author

p6rt commented Aug 4, 2009

From @kyleha

On Sun Apr 19 07​:18​:51 2009, masak wrote​:

<moritz_> rakudo​: sub foo { say "bar" }; my $x = 'foo'; :​:$x()
<p6eval> rakudo df8662​: OUTPUT«ResizablePMCArray​: Can't pop from an
empty array! [...]

I asked about this on #perl6​:

http://irclog.perlgeek.de/perl6/2009-08-04#i_1366011

My take-away is that :​:$x() is not a valid way to do a symbolic
reference. That said, the error looks bad. I haven't tested this
particular case, but there are general symbolic reference tests in
S02-names/symbolic-deref.t.

@p6rt
Copy link
Author

p6rt commented Aug 4, 2009

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

@p6rt
Copy link
Author

p6rt commented Sep 20, 2011

From @coke

On Sun Apr 19 07​:18​:51 2009, masak wrote​:

<moritz_> rakudo​: sub foo { say "bar" }; my $x = 'foo'; :​:$x()
<p6eval> rakudo df8662​: OUTPUT�ResizablePMCArray​: Can't pop from an
empty array! [...]
<moritz_> that looks a bit like a bug
* moritz_ summons masak
<masak> moritz_​: oh hai.
* masak submits

Output is now​:

20​:39 < [Coke]> rakudo​: sub foo { say "bar" }; my $x = 'foo'; :​:$x()
20​:39 <+p6eval> rakudo b10ef5​: OUTPUT«===SORRY!===␤Cannot look up empty name␤»

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Oct 16, 2011

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

@p6rt p6rt closed this as completed Oct 16, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant