# New Ticket Created by Lloyd Fournier
# Please include the string: [perl #126417]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=126417 >
The design docs don't specifically say it's meant to work but implies it by
saying that shared traits can be set in the proto and default value ~~
trait (to me).
class A {
proto method foo($x = 'foo') {*}
multi method foo($x) {
$x.say;
}
}
A.foo(); #!> none of these signatures match
If specifying a default in a proto is wrong it should carp I guess.