# New Ticket Created by Paweł Pabian
# Please include the string: [perl #115436]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=115436 >
Rakudo 2012.09
$ perl6 -e 'Failure.new("foo").();'
No such method 'throw' for invocant of type 'Str'
in method <anon> at src/gen/CORE.setting:9914
in at src/gen/Metamodel.pm:2380
in any find_method_fallback at src/gen/Metamodel.pm:2368
in any find_method at src/gen/Metamodel.pm:922
in at src/gen/BOOTSTRAP.pm:827
in any at src/gen/BOOTSTRAP.pm:811
in block at -e:1
Those LTA errors can be avoided by adding Exception (or some kind of
"throwable" if there is any) type check to Failure constructor.