Open p6rt opened 7 years ago
From https://irclog.perlgeek.de/perl6/2016-11-23#i_13618534
15:43 timotimo that's a cool golf
15:43 m: enum Foo (bar => class {}.new)
15:43 camelia rakudo-moar 6bb882: OUTPUT«5===SORRY!5=== Error while
compiling \
settingat \
compiling \
settingat \
invocant of type 'X::Comp::AdHoc' in block \
https://github.com/rakudo/rakudo/blob/6bb8823/src/core/Exception.pm#L124
enum Bla (a => sub {})
Throws an error as you can see here: https://irclog.perlgeek.de/perl6/2017-03-03#i_14199712
https://github.com/rakudo/rakudo/commit/d0eb6c6f18 is a start to fixing this
Migrated from rt.perl.org#130158 (status was 'new')
Searchable as RT130158$