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


April 18. Using git pull version of today
The following test program yields results as lower

use v6;
say "t1";
@*ARGS.perl.say;

say "t2";
for @*ARGS { .say }

my @a = @*ARGS;

say "t3";
for @a[ 1 ..^ +...@a ] { .say };
say "t4";
for @*ARGS[ 1 ..^ +...@*args ] { .say };

<run output>
perl6 test.p6 one two three four
t1
["one", "two", "three", "four"]
t2
one
two
three
four
t3
two
three
four
t4
No applicable candidates found to dispatch to for 'postcircumfix:<[ ]>'. 
Available candidates are:
:(Mu : Int $i;; *%_)
:(Mu : Block $b;; *%_)
:(Mu : !whatever_dispatch_helper ;; *%_)

current instr.: '!postcircumfix:<[ ]>' pc 10686 (src/builtins/Role.pir:90)
called from Sub '_block14' pc 29 (EVAL_1:0)
called from Sub '!UNIT_START' pc 1299 (src/glue/run.pir:24)
called from Sub 'perl6;PCT;HLLCompiler;eval' pc -1 ((unknown file):-1)
called from Sub 'perl6;PCT;HLLCompiler;evalfiles' pc 1318 
(compilers/pct/src/PCT/HLLCompiler.pir:714)
called from Sub 'perl6;PCT;HLLCompiler;command_line' pc 1504 
(compilers/pct/src/PCT/HLLCompiler.pir:801)
called from Sub 'perl6;Perl6;Compiler;main' pc -1 ((unknown file):-1)

Reply via email to