summaryrefslogtreecommitdiff
path: root/test/files/neg/multi-array.check
blob: 8af656ab6b1f0236b5c9b15ce6c7b1382f174d11 (plain) (blame)
1
2
3
4
5
6
7
8
multi-array.scala:6: warning: new Array(...) with multiple dimensions has been deprecated; use Array.withDims(...) instead
  val a: Array[Int] = new Array(10, 10)
                      ^
multi-array.scala:6: error: too many arguments for array constructor: found 2 but array has only 1 dimension(s)
  val a: Array[Int] = new Array(10, 10)
                      ^
one warning found
one error found