Symbols representing private names from different libraries should not be equal #10526
Labels
closed-obsolete
Closed as the reported issue is no longer relevant
library-mirrors
P2
A bug or feature request we're likely to work on
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
web-dart2js
According to Lasse:
// Have this code available:
class _ {
const _();
noSuchMethod(i) => i.memberName;
}
const $ = const _();
// Then do:
var symbol1 = $._foo;
// and in another library
var symbol2 = $._foo;
// somewhere
print(symbol1 == symbol2); // true or false?
Currently the VM prints false and dart2js prints true.
The text was updated successfully, but these errors were encountered: