Comparing the same Value results in false
Submitted by Blaž Tomažič
Link to original bug (#658112)
Description
The next piece of code prints out false instead of true. The comparison doesn't work when comparing the same object or different Values with same data (not sure if this should check for equality of Value objects or data stored by them).
void main() { Value a = 42; Value b = 42; stdout.printf("%s\n", a == a ? "true" : "false"); stdout.printf("%s\n", a == b ? "true" : "false"); }
Version: 0.14.x