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


For sample class on Rakudo 2012.11

class A { method foo (Int) {} };

signature matches without problem when it is declared directly in code

 say \(A, 1) ~~ A.^find_method("foo").signature;
True

but when signature is created from array it will not match

my @t = 1; say \(A, @t) ~~ A.^find_method("foo").signature;
False

Both signatures looks the same

say \(A, 1).perl
Capture.new( list => (A, 1).list, hash => EnumMap.new())
 say \(A, @t).perl
Capture.new( list => (A, 1).list, hash => EnumMap.new())


Reply via email to