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


<BenGoldberg> r: my $a ($b, $c); $b = 42; say $b
<camelia> rakudo-parrot 3cef56: OUTPUT«(signal SEGV)»
<camelia> ..rakudo-jvm 882e33: OUTPUT«java.lang.NullPointerException [...]
<masak> whoa.
* masak submits rakudobug
<masak> r: my $a ($b, $c); $b = 42
<camelia> rakudo-jvm 882e33: OUTPUT«java.lang.NullPointerException [...]
<camelia> ..rakudo-parrot 3cef56: OUTPUT«(signal SEGV)»
<jnthn> I'm surprised it even parses; I must be misremembering
something in the grammar...
<TimToady> it's just coming in as a postconstraint
<jnthn> oh...
<jnthn> I suspect we don't try to handle that code path at all :)
<jnthn> So heck knows what comes of the $b and $c... :)
<TimToady> r: my $a where 42; $a = 43
<camelia> rakudo-parrot 3cef56, rakudo-jvm 882e33: ( no output )
<TimToady> yeah

Reply via email to