# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #77214]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=77214 >
<isBEKaml> rakudo: my $a = "buuss"; my $b = do given $a { when "a" {
42 ?? "foo" !! "bar" } }; say $b
<p6eval> rakudo 083999: OUTPUT«0»
<isBEKaml> :)
<isBEKaml> there.
<masak> isBEKaml++
* masak submits rakudobug
<masak> rakudo: say do given 'x' { when 'y' {} }
<p6eval> rakudo 083999: OUTPUT«0»
<masak> I think it should be Nil or something.
<masak> or maybe something undefined :P
<isBEKaml> I'd hazard a guess at Any()
<isBEKaml> but that doesn't make sense since this is more of a
programmer error.
<masak> isBEKaml: in this case, yes. in the general case, not necessarily.