# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #58828]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58828 >


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.

Reply via email to