aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/i1652.scala
blob: a48b500fafca0b1eac63bbf96d78da05cec4ba79 (plain) (blame)
1
2
3
4
5
object Test {
  val v: Array[Array[Array]] = Array()    // happens because of the kindedness error here.
  def f[T](w: Array[Array[T]]) = { for (r <- w) () }
  f(v)
}