Closed
Description
When compiling from tasty (tests in tests/posFromTasty/)
trait Map2[K] {
def get(k: K): K = k
def foo: K = {
this match {
case that: Map2[b] => that.get(3.asInstanceOf[b])
case that: Map2[b] => that.get(3.asInstanceOf[K])
case _ => get(5.asInstanceOf[K])
}
}
}
When recompiling the code loaded from tasty, the references of b
become redefinitions of b
. There are also positions missing from.