# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #115384] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=115384 >
<masak> r: .say for { a => 1, b => 2 } <p6eval> rakudo b86628: OUTPUT«("a" => 1, "b" => 2).hash» <masak> shouldn't flatten, right? <masak> r: .say for gather take do given 1 { default { { a => 1, b => 2 } } } <p6eval> rakudo b86628: OUTPUT«"a" => 1"b" => 2» <masak> also shouldn't flatten, methinks. <masak> and yet it... does. <jnthn> If you remove the default? <masak> r: .say for gather take do given 1 { { a => 1, b => 2 } } <p6eval> rakudo b86628: OUTPUT«("a" => 1, "b" => 2).hash» <masak> either a 'when' or a 'default' is required for the bug to appear. * masak submits rakudobug