Hi,

I got amazed little bit when this code:
    class A {
         method wow{say "I'm alive"}
    }

    role Xx{
      my $th = A.wow;
    }


    class B does Xx {
    }

Started to live during compilation (also tried with ufo):

    $ perl6 -o o.pir funnyrole.pl
    I'm alive


Is this expected or subject to change?
-- 
Pozdrawiam

Kamil Kułaga

Reply via email to