summaryrefslogblamecommitdiff
path: root/test/files/neg/t5318.scala
blob: 8009c66e6b643ef0454b335ce2a20695e3305283 (plain) (tree)
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
}