blob: 5be82a02a60dbdfe34f5084c3c5c6b0142c50610 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
class CompilerHang {
trait TC[M[_]]
trait S[A]
implicit def tc[M[_]](implicit M0: TC[M]): TC[S] = null
def breakage[F[_] : TC] = 0
breakage // type checker doesn't terminate, should report inference failure
}
|