# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #113952] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=113952 >
<masak> r: class A { method x {} }; say A.^methods <p6eval> rakudo 16db64: OUTPUT«x» <masak> r: class A { method x {} }; say A.^methods[0] <p6eval> rakudo 16db64: OUTPUT«x» <masak> r: class A { method x {} }; say A.^methods[0].^methods <p6eval> rakudo 16db64: OUTPUT«No such method 'gist' for invocant of type 'Sub' [...] * masak submits rakudobug <masak> r: class A { method x {} }; say A.^methods[0].WHAT <p6eval> rakudo 16db64: OUTPUT«Method()» <masak> r: say Method.^methods <p6eval> rakudo 16db64: OUTPUT«No such method 'gist' for invocant of type 'Sub' [...] <masak> r: sub foo {}; say &foo.WHAT <p6eval> rakudo 16db64: OUTPUT«Sub()» <masak> r: sub foo {}; say &foo.WHAT.gist <p6eval> rakudo 16db64: OUTPUT«Sub()» <masak> so, obviously that Sub() *has* a 'gist' method. <masak> therefore, I probably hit an nqp Sub() or something. It's turtles all the way down nowadays, but sometimes one of the turtles will trip you when you least expect it. :)