Closed sgalles closed 9 years ago
This code prints out falseinstead of true
false
true
shared void run() { value j = void(){}; value m = [j,j]; print(m[0] == m[1]); // false instead of true }
Each reference to j is boxed separately, so they're different identities. But it can be fixed.
j
As of ceylon/ceylon.language#716 Callable.equals always returns false.
Callable.equals
This code prints out
false
instead oftrue