aboutsummaryrefslogblamecommitdiff
path: root/tests/untried/neg/t6666d.check
blob: b4785f0129a41bda94fa81389f143a36b261c2da (plain) (tree)
1
2
3
4



                                                                                                                                                                                     
t6666d.scala:7: error: Implementation restriction: access of object TreeOrd$1 from object TreeOrd$2, would require illegal premature access to the unconstructed `this` of class Test
    implicit object TreeOrd extends Ordering[K](){
                    ^
one error found