diff --git a/src/core/Enumeration.pm6 b/src/core/Enumeration.pm6 index 589abf8bd8a..559a68d74d6 100644 --- a/src/core/Enumeration.pm6 +++ b/src/core/Enumeration.pm6 @@ -2,7 +2,7 @@ my role Enumeration { has $.key; has $.value; - has Int $!index; + has int $!index; method enums() { self.^enum_values.Map }