From 8c52d2ef0a298780bc1c1c4f5465cc74017c9243 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Thu, 29 Jan 2009 15:36:38 +0000 Subject: updated check file --- test/files/neg/multi-array.check | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/files/neg/multi-array.check') diff --git a/test/files/neg/multi-array.check b/test/files/neg/multi-array.check index 94d0613735..8af656ab6b 100644 --- a/test/files/neg/multi-array.check +++ b/test/files/neg/multi-array.check @@ -1,4 +1,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 -- cgit v1.2.3