aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t8376/Test.scala
blob: 9440d76fadbcac1ba0e0ab12acff77df3a21f9bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
class Test {
  BindingsX.select("", "") // okay in 2.10, fails in 2.11

  BindingsY.select1("", "") // okay in both
}

object BindingsY {
  def select1(root: String, steps: String*) = ()
  def select1(root: Any, steps: String*) = ()
}