aboutsummaryrefslogblamecommitdiff
path: root/tests/neg/i2086a.scala
blob: b80535c2c67c995e1c9158e964c000f1ee75ee29 (plain) (tree)
1
2
3
4



                                                                                                                                         
object Test { // error: Test cannot be instantiated since it has a member type Foo with possibly conflicting bounds Any <: ... <: Nothing
  type Foo >: Any <: Nothing
}