summaryrefslogtreecommitdiff
path: root/test/files/neg/t8325.scala
blob: 3813797e832ef72403b22222bdc6b11e15984d4c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
trait Test {
  type OK[A,B] = A Tuple2 B
  type *[A,B]  = A Tuple2 B
  def f(is: Int*, s: String) = ???
  def g(is: Int * String, s: String) = ???     // OK
  def h(is: Int * String *, s: String) = ???
  // won't recover from following
  //def i(is: Int OK) = ???  //error: identifier expected but ')' found.
  def j(is: Int* = 5) = ???
}