summaryrefslogblamecommitdiff
path: root/test/files/neg/t0117.check
blob: db28b60f3edf8e45ff9b785c1afb775e53f7874f (plain) (tree)
1
2
3
4
                                                                                                                             
                                         
                             
               
t0117.scala:2: error: Implementation restriction: traits may not select fields or methods from to super[C] where C is a class
trait B extends A { println(super[A].a) }
                            ^
one error found