On Sun Oct 16 07:25:10 2011, masak wrote: > On Sun Oct 16 07:19:52 2011, masak wrote: > > <masak> nom: my int $x; say $x > > <p6eval> nom 25af2d: OUTPUT«57836072» > > <masak> ahahahah. > > * masak submits rakudobug > > > > What... what is that number? :-) Expected output: OUTPUT«0» > > <benabik> masak: Are they supposed to be initialized? C doesn't for > speed, I know. > <masak> benabik: I'll check, but yes, they are :) > <masak> S02:639: Variables of non-native types start out containing an > undefined value > <masak> unless explicitly initialized to a defined value. > <masak> oops, I'm wrong! mooting ticket. > <masak> benabik++ > > Ticket rejected. Submitter should read spec more carefully. :-)
<benabik> masak: That said "non-native types". <masak> oh! :/ * masak can't read <benabik> S02:1212 <benabik> masak: ^^ floats default to NaN, int to 0 * masak reopens ticket Ticket re-opened. Ticket moderator should stop to reflect before knee- jerking ticket rejections. :-P
