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


     ➜  say (4 => Mu).kv;
     Type check failed in binding to parameter 'val2';
     expected Any but got Mu (Mu)

     ➜  say ((Mu) => 4).kv;
     Type check failed in binding to parameter 'val1';
     expected Any but got Mu (Mu)

     ➜  say ((Mu) => Mu).kv;
     Type check failed in binding to parameter 'val1';
     expected Any but got Mu (Mu)

`Pair` methods that are affected:
     .kv
     .keys
     .values

`Pair` methods that NOT are affected:
     .key
     .value
     .pairs
     .antipairs
     .Str
     .gist
     .perl

bisectable finds that this was broken two weeks ago:

     https://gist.github.com/Whateverable/03a10377df0b3e0409eaa69330750868
 
https://github.com/rakudo/rakudo/commit/30584dac2fe231038c5bea557946a41310e9fd0f

Reply via email to