summaryrefslogblamecommitdiff
path: root/test/files/neg/t836.check
blob: cf2faf926fd82fe5d59604eb52375b7eb0bf1473 (plain) (tree)
1
2
3
4
5
6
7
                                   

                   
                                      

                                                               
               
t836.scala:9: error: type mismatch;
 found   : Any
 required: A.this.S
    (which expands to)  A.this.MyObj#S
  val some: S = any   // compiles => type X is set to scala.Any
                ^
one error found