On Thu Oct 16 08:19:14 2008, coke wrote:
> On Thu, Oct 16, 2008 at 9:12 AM, Klaas-Jan Stol via RT
> <[EMAIL PROTECTED]> wrote:
> > I think this ticket has been resolved by the decision that method 
names
> > must be quoted (as stated in pdd19).
> >
> > I propose to close ticket.
> > kjs
> 
> That decision doesn't correspond to reality, though:
> 
> $ cat foo.pir
> .sub main :main
>   $P1 = subclass 'String', 'kjs'
>   $P1 = new 'kjs'
>   $P1.hi()
> .end
> 
> .namespace [ 'kjs' ]
> 
> .sub 'hi' :method
>   say "hi"
> .end
> 
> $ ./parrot foo.pir
> hi
> 
> Regards.

This now fails as desired in r32615; Resolving ticket, thanks to 
chromatic for the delicate IMCC work.

(Language implementors, double check your languages.)

-- 
Will "Coke" Coleda
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev

Reply via email to