# New Ticket Created by  Tadeusz SoĊ›nierz 
# Please include the string:  [perl #85472]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=85472 >


Using rakudo master.

The code:

# foo.pm:
module foo;
multi sub bar($foo, Int $bar) is export {
        say "bar";
}

# test.pl:
use foo;

bar(5, "asd"); # wrong parameter order

# result:
get_attr_str() not implemented in class 'Sub'
  in main program body at line 7530

What's expected is definitely the message concerning the failed dispatch
of the multi sub, but it's getting lost somewhere.

Reply via email to