You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 <tmp>Cannot auto-generate a proto method for 'Int' in the
settingat <tmp>:1»
15:43 timotimo m: enum Foo (bar => class {})
15:43 camelia rakudo-moar 6bb882: OUTPUT«5===SORRY!5=== Error while
compiling <tmp>Cannot auto-generate a proto method for 'Int' in the
settingat <tmp>:1»
15:44 viki What's cool about it? What is it trying to do?
15:44 ZzZombo: "setting" is what we call the core code.
15:44 Well, part of it.
15:45 timotimo it's trying to give us a bad error message
15:45 viki oh
15:45 m: try 'enum Foo (bar => class {}.new)'.EVAL; $!.name
15:45 camelia rakudo-moar 6bb882: OUTPUT«No such method 'name' for
invocant of type 'X::Comp::AdHoc' in block <unit> at <tmp> line 1»
15:45 acrussell_ joined #perl6
15:45 viki s: X::Comp::AdHoc.new, 'message', \()
15:45 SourceBaby viki, Sauce is at https://github.com/rakudo/rakudo/blob/6bb8823/src/core/Exception.pm#L124
Migrated from rt.perl.org#130158 (status was 'new')
Searchable as RT130158$
The text was updated successfully, but these errors were encountered: