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