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


role R { multi method foo(Cool) { } }; class C { multi method foo(Str) { }
}; my $t = C.new does R; $t.foo("yo")

Ambiguous call to 'foo'; these signatures all match:
:(C $: Str $, *%_)
:(C+{R} $: Cool $, *%_)
  in block <unit> at -e line 1

discussion http://irclog.perlgeek.de/perl6/2016-02-05#i_11994613

Reply via email to