bool operator ==(other)

Symbols are equal to other symbols that correspond to the same member name.

Qualified member names, like #foo.bar are equal only if they have the same identifiers before the same final member name.

Source

bool operator ==(other);