I was wondering if the long name of sub/method/submethod also includes the named arguments to differentiate between multi's. I had problems using multi on BUILD submethods which only accept named arguments. The dispather (also with other named methods) always takes the first method of the multi's and doesn't choose the proper one looking at the named arguments.

Is this behavior correct?

For the moment I can get by using callsame after doing tests on the arguments.

perl6 version 2015.09-95-g3970634 built on MoarVM version 2015.09-35-gd15a446

Greetings
Marcel Timmerman

Reply via email to