Closed quartata closed 8 years ago
Version: v1.0.0-beta.50
== does not work properly for 0 and 0.
==
0
cheddar> 0 == 0 false cheddar> 1 == 1 true
Comparing two literals or lvalues that are both 0 should yield true.
true
Fixed in 9d2df293ed6d502bccc57da194d752eec22f157c
uh oh. is it borked again?
@ConorOBrien-Foxx it was never fixed but I know exactly what the problem is, I just need to fix it
Version: v1.0.0-beta.50
Problem
==
does not work properly for0
and0
.Desired Behavior
Comparing two literals or lvalues that are both
0
should yieldtrue
.How to Reproduce