summaryrefslogblamecommitdiff
path: root/test/files/neg/t0117.check
blob: 53b5bd9baa597b5e5689318a928eb90a16b2eee0 (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