summaryrefslogblamecommitdiff
path: root/test/files/neg/t8177a.scala
blob: d1e47f8c1e6d8886fd833f6825dd6c94617dc035 (plain) (tree)
1
2
3
4
5
6





                                            
trait A { type Result }

class PolyTests {
  def wrong(x: A { type Result = Int })
             : A { type Result = String} = x
}