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

Make calleable &-sigil parameters work in rakudo #312

Closed
p6rt opened this issue Sep 13, 2008 · 6 comments
Closed

Make calleable &-sigil parameters work in rakudo #312

p6rt opened this issue Sep 13, 2008 · 6 comments

Comments

@p6rt
Copy link

p6rt commented Sep 13, 2008

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

Searchable as RT58828$

@p6rt
Copy link
Author

p6rt commented Sep 13, 2008

From @masak

In Rakudo r31066, this works...

$ ./perl6 -e 'sub a($b) { $b(5) }; a(&say)' # cool!
5

...but not the following​:

<bacek> rakudo​: sub a(&b) { b(5) }; a(&say)
<polyglotbot> OUTPUT[Could not find non-existent sub b␤current instr.​:
'a' pc 139
  (EVAL_15​:63)␤called from Sub '_block11' pc 27
(EVAL_15​:15)␤called from
  Sub 'parrot;PCT​::HLLCompiler;eval' pc 806
  (src/PCT/HLLCompiler.pir​:481)␤called from Sub
  'parrot;PCT​::HLLCompiler;evalfiles' pc 1078
<polyglotbot> ..(src/PCT/HLLCompiler.pir​:610)␤called from Sub
  'parrot;PCT​::HLLCompiler;comma...
<bacek> this is definitely not-yet-implemented-rakudo-feature
<bacek> It should work according to S06

kthxbai.

@p6rt
Copy link
Author

p6rt commented Sep 18, 2008

From @jnthn

On Sat Sep 13 04​:33​:53 2008, masak wrote​:

In Rakudo r31066, this works...

$ ./perl6 -e 'sub a($b) { $b(5) }; a(&say)' # cool!
5

...but not the following​:

<bacek> rakudo​: sub a(&b) { b(5) }; a(&say)
<polyglotbot> OUTPUT[Could not find non-existent sub b␤current instr.​:
'a' pc 139
(EVAL_15​:63)␤called from Sub '_block11' pc 27
(EVAL_15​:15)␤called from
Sub 'parrot;PCT​::HLLCompiler;eval' pc 806
(src/PCT/HLLCompiler.pir​:481)␤called from Sub
'parrot;PCT​::HLLCompiler;evalfiles' pc 1078
<polyglotbot> ..(src/PCT/HLLCompiler.pir​:610)␤called from Sub
'parrot;PCT​::HLLCompiler;comma...
<bacek> this is definitely not-yet-implemented-rakudo-feature
<bacek> It should work according to S06

kthxbai.

OH HAI...you can haz fix in r31228. Plz I can haz spectests so we avoidz
regreshuns?

kthxbai,

Jonathan

@p6rt
Copy link
Author

p6rt commented Sep 18, 2008

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

@p6rt
Copy link
Author

p6rt commented Sep 18, 2008

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

@p6rt p6rt closed this as completed Sep 18, 2008
@p6rt
Copy link
Author

p6rt commented Sep 18, 2008

From @moritz

jnthn@​jnthn.net via RT wrote​:

On Sat Sep 13 04​:33​:53 2008, masak wrote​:

OH HAI...you can haz fix in r31228. Plz I can haz spectests so we avoidz
regreshuns?

IF u sai so. U can haz tesz in r31229.

KTXBAI,

Moritz

--
Moritz Lenz
http://moritz.faui2k3.org/ | http://perl-6.de/

@p6rt
Copy link
Author

p6rt commented Sep 18, 2008

From ajr@ippimail.com

OH HAI...you can haz fix in r31228. Plz I can haz spectests so we avoidz
regreshuns?

IF u sai so. U can haz tesz in r31229.

KTXBAI,

Can this meme be exorcised before the contamination spreads?

--
 
Email and shopping with the feelgood factor!
55% of income to good causes. http://www.ippimail.com

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