summaryrefslogtreecommitdiff
path: root/test/files/neg/vincent1.check
blob: aa65a523419abfd92cf4a4de57833c9eb32e8c78 (plain) (blame)
1
2
3
4
5
6
7
vincent1.scala:7: type x.type escapes its defining scope as part of java.lang.Object with scala.ScalaObject { type T = x.T }
  class Functor(x: A) { type T = x.T }
        ^
vincent1.scala:9: type x.type escapes its defining scope as part of test.B { type T = x.T }
  def functor(x: A): B { type T = x.T } =
                     ^
two errors found