# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #115278]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=115278 >
<masak> r: class A { ... }; class B is A {}; class A {}; say B.new; say "alive"
<p6eval> rakudo 8a07b8: OUTPUT«No such method 'new' for invocant of
type 'B' in block [...]
* masak submits rakudobug
<masak> r: class A { ... }; class B is A {}; class A { has B $.bar };
say A.new.bar
<p6eval> rakudo 8a07b8: OUTPUT«No such method 'gist' for invocant of
type 'B' in sub say [...]
Found by diakopter++.