[Mono-list] Rectangular Arrays

Paolo Molaro lupus@ximian.com
Tue, 14 May 2002 10:33:49 +0200


On 05/13/02 Shai Bentov wrote:
> class MyClass
> {
>     static void Main() {
> 	int[,] a = new int[3,2];
>     }
> }
> 
> 
> [shai@shai2 mono]$ mcs test.cs
> requested token for MonoArrayMethod
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This is a warning (admittedly it should be more explicit).
The token for the helper methods needed in handling multi-dim arrays are
not yet created, so you get an invalid token (0) and the resulting
program fails.

It's in my TODO list.
Yu may bugzilla it, so you'll get a mail when I'll implement it.

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better