summaryrefslogblamecommitdiff
path: root/test/neg/vincent1.check
blob: b9243e75601a3e67b01e375f5ab0c5360a0fb710 (plain) (tree)
1
2
3
4
                                                                                           
                                         

                      
vincent1.scala:7: 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 } =
                     ^
one error found