scala/scala — pull request #822 by xeno-by (2012-07-04 16:47:51+00:00)
Title: SI-5959 type equality now accounts for mirrors

TypeRef(ThisType(), sym, args) should always be equal to
TypeRef(ThisType(), sym, args) regardless of whether
package1 and package2 actually represent the same symbols of not.

This goes for subtyping (<:<) and type equality (=:=).
However regular equality (==) and hashconsing is unaffected
as per http://groups.google.com/group/scala-internals/browse_thread/thread/4bef4e6987bb68fe

This is done to account for the fact that mirrors share normal symbols,
but never share package symbols. Therefore at times it will occur that
the same types loaded by different mirrors appear different because of
the package symbols. More details: https://issues.scala-lang.org/browse/SI-5959.