[perl #127775] Declaring enums with Bools, IntStrs and maybe other things ( enum Foo (:Bar(1), :Baz(True) ))

2017-12-16 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
I am pretty sure that this commit is relevant to this issue: https://github.com/rakudo/rakudo/commit/fc52143beee3178c7f39d770f95c7d60b2a1a1e4 On 2017-10-07 17:20:37, alex.jakime...@gmail.com wrote: > Zoffix++ pointed out that there is a problem with IntStr also: > > Code: > enum Foo (:Bar(1),

[perl #127775] Declaring enums with Bools, IntStrs and maybe other things ( enum Foo (:Bar(1), :Baz(True) ))

2017-10-07 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Zoffix++ pointed out that there is a problem with IntStr also: Code: enum Foo (:Bar(1), :Baz(<42>)) Result: ===SORRY!=== Incompatible MROs in P6opaque rebless for types IntStr and Foo On 2017-10-07 17:16:30, alex.jakime...@gmail.com wrote: > Actually, it's not about the error message. The whole