# New Ticket Created by  cygx 
# Please include the string:  [perl #129957]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=129957 >


Minimal testcase:

    $ cat Foo.pm
    role Foo is export {}

    $ cat foo.p6
    use lib '.';
    use Foo;

    class Bar does Foo {}

    say Bar.^roles;
    say Bar.new ~~ Foo;

    $ perl6 foo.p6
    ((Foo))
    False

Using .WHICH or nqp::eqaddr (after decont) confirms that we're indeed
dealing with the same type object.

Reply via email to