On Sun Jul 12 10:56:35 2009, moritz wrote:
> Rakudo: 08928df70e4af4013eb0bfde02256262728ecf6e
> 
> $ perl6 -e 'my @a = <elems join>; say @a...@a()'
> Cannot use .* when method is a code ref at line 1, near ""
> in Main (src/gen_setting.pm:1334)
> 
> This is rather unhelpful to me since I see no code refs anywhere.
> Tests (for the real thing) are in tspec/S12-methods/indirect_notation.t.
> 
Note that here, @a is meant to be a list of invokables rather than a
list of method names. I implemented support for this a couple of days
ago, and corrected the wrong tests in indirect_notation.t. You now get
the more standard "can't invoke a Perl6Str" style error, which is more
accurate than what was there before.

Thanks,

Jonathan

Reply via email to