See "the perils of reference equality" on scala-internals.