aboutsummaryrefslogblamecommitdiff
path: root/tests/neg/i2086b.scala
blob: 0a5e296fd12a69ff71f4fd269779ba023da676c0 (plain) (tree)
1
2
3
4
5




                                                                                                                                                                            
object Test { // error: Test cannot be instantiated since it has a member type Bound with possibly conflicting bounds [Left, Right] => Left <: ... <: [Left, Right] => Right
  type Bound[Left, Right] >: Left <: Right
  type Foo = Bound[Any, Nothing]
}