This works now as expected:
$ perl6 -e 'role Cup[::Contents] { }; class EggNog { }; my Cup of EggNog $mug;
$mug.WHAT.perl.say'
Cup[EggNog]
Since the test in integration/advent2009-day18.t is unfudged and runs fine in
spectests, I'm closing this ticket.
# New Ticket Created by Will Coleda
# Please include the string: [perl #117681]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org:443/rt3/Ticket/Display.html?id=117681 >
from integration/advent2009-day18.t -
role Cup[::Contents] { }
class EggNog { }