On Mon Nov 05 09:39:33 2012, masak wrote:
> <jnthn> module foo; sub foo() { say "OH HAI" }; foo; foo()
> <jnthn> In this one, foo() parses as a coercion.
> <masak> jnthn: oh!
> * masak adds that to the appropriate rakudobug
> <jnthn> Anyway, it's right it doesn't call the sub. Just an LTA error I 
> guess...though I ain't immediately sure what to do with it...
> 

It's ruled that forming a coercion type is the correct behavior:

http://irclog.perlgeek.de/perl6/2015-11-26#i_11605891

And current Rakudo does indeed form one. Tests covering this behavior in 
S02-names-vars/names.t.

Reply via email to