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.
-- 
Will "Coke" Coleda

Reply via email to