Closed GoogleCodeExporter closed 8 years ago
Should be fixed now - fixed the code generation for class variable assignment
using ||=
Original comment by meaningi...@gmail.com
on 1 Nov 2007 at 7:08
Not really...
@@v = nil
puts @@v ||= 1
Expected:
1
Actual:
0
Original comment by sason...@gmail.com
on 1 Nov 2007 at 8:12
Sorry, I meant
Actual: nil
Anyway, it's fixed now.
Original comment by sason...@gmail.com
on 1 Nov 2007 at 8:17
Original issue reported on code.google.com by
sason...@gmail.com
on 1 Nov 2007 at 6:09