summaryrefslogblamecommitdiff
path: root/test/files/neg/multi-array.check
blob: f8432a76b8880ccd7e96dbc3896f953637a41864 (plain) (tree)
1
2
3
4
5
6
7
8
                                                                                                                       

                                       
                                                                  

                                       
                 
               
multi-array.scala:6: warning: new Array(...) with multiple dimensions has been deprecated; use Array.ofDim(...) instead
  val a: Array[Int] = new Array(10, 10)
                      ^
multi-array.scala:6: error: too many dimensions for array creation
  val a: Array[Int] = new Array(10, 10)
                      ^
one warning found
one error found