# New Ticket Created by Sir Robert Burbridge # Please include the string: [perl #115024] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=115024 >
15:08 < sirrobert> r: use Test; my Str $str; is_deeply {b=>2}, {a=>$str, b=>2}, "wat"; 15:08 <+p6eval> rakudo 7d6aa0: OUTPUT«not ok 1 - wat# got: {"b" => 2}# expected: {"a" => Str, "b" => 2}» 15:08 < sirrobert> r: use Test; my Str $str; is_deeply {a=>$str, b=>2}, {a=>$str, b=>2}, "wat"; 15:08 <+p6eval> rakudo 7d6aa0: OUTPUT«use of uninitialized value of type Str in string context in sub is_deeply at lib/Test.pm:217use of uninitialized value of type Str in string context in sub is_deeply at lib/Test.pm:217ok 1 - wat» 15:09 < sirrobert> It can handle the sad path ok, but not the happy? 15:11 < masak> it definitely shouldn't emit a warning from within is_deeply like that. 15:11 < masak> please submit a rakudobug.