Carl MXXsak (via RT) wrote:
> # New Ticket Created by "Carl Mäsak"
> # Please include the string: [perl #68652]
> # in the subject line of all future correspondence about this issue.
> # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=68652 >
>
>
> <masak> rakudo: role Self[Self] {}
> <p6eval> rakudo 0d4fe0: OUTPUT«set_pmc_keyed() not implemented in
> class 'Integer' [...]
Now says
Invalid typename in parameter declaration at line 1, near "] {}"
Not quite as awesome as the one by STD.pm, but IMHO sufficient for now.
> <masak> std: role Self[Self] {}
> <p6eval> std 28021: OUTPUT«[31m===[0mSORRY![31m===[0mInvalid
> typename Self at /tmp/1OlrJQaA7X line 1:------> [32mrole
> Self[Self[33m⏏[31m] {}[0mFAILED 00:03 41m»
> * masak submits rakudobug
> <masak> rakudo: role Self[Foo] {}
> <p6eval> rakudo 0d4fe0: OUTPUT«set_pmc_keyed() not implemented in
> class 'Integer' [...]