# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #114672]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=114672 >
<masak> rn: class A {}; class B is A { has $!x = 5; our method foo(A:)
{ say $!x } }; &B::foo(A.new)
<p6eval> rakudo d70363: OUTPUT«Can not get non-existent attribute
'$!x' on class 'B' in method foo [...]
<p6eval> ..niecza v21-1-ga8aa70b: OUTPUT«Unhandled exception:
Attribute $!x not defined in A or any superclass [...]
* masak submits LTA error message rakudobug
The attribute *does* exist on class 'B', but Rakudo seems to think
that's where it didn't find it, rather than on class 'A'.