Hmmm… I’m getting:
$ 6 'enum Error ( Metadata => -20); class Metadata { }'
===SORRY!=== Error while compiling -e
Redeclaration of symbol Metadata
at -e:1
------> Error ( Metadata => -20); class Metadata⏏ { }
expecting any of:
generic role
as expected?
$ perl6 --version
This is perl6 version 2015.06-26-g6481e24 built on MoarVM version
2015.06-16-g46e941c
Liz
> On 20 Jun 2015, at 11:46, Jonathan Stowe (via RT)
> <[email protected]> wrote:
>
> # New Ticket Created by Jonathan Stowe
> # Please include the string: [perl #125441]
> # in the subject line of all future correspondence about this issue.
> # <URL: https://rt.perl.org/Ticket/Display.html?id=125441 >
>
>
> The following example:
>
> enum Error ( Metadata => -20); class Metadata { }
>
> gives rise to:
>
> ===SORRY!===
> Cannot find method 'is_composed'
>
> Without any mention of in what or a possible reason why. In a larger enum I
> had to progressively comment bits out until I saw the problem.
>
> Not a biggy though.