From bf83b15cadf4bea4bc025ef84042f3bcbb5d3621 Mon Sep 17 00:00:00 2001 From: Iulian Dragos Date: Thu, 8 Nov 2007 18:14:04 +0000 Subject: Fixed ticket #193 by issuing a compile-time error. --- test/files/neg/multi-array.check | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/files/neg/multi-array.check (limited to 'test/files/neg/multi-array.check') diff --git a/test/files/neg/multi-array.check b/test/files/neg/multi-array.check new file mode 100644 index 0000000000..94d0613735 --- /dev/null +++ b/test/files/neg/multi-array.check @@ -0,0 +1,4 @@ +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 error found -- cgit v1.2.3