[Mono-devel-list] Corlib Test Build Failure

Ben Maurer bmaurer at users.sourceforge.net
Wed May 21 17:49:07 EDT 2003


Nick,

It looks like this checkin you made to
/mcs/class/corlib/Test/System/ArrayTest.cs:
revision 1.20
date: 2003/04/23 04:34:56;  author: nickd;  state: Exp;  lines: +35 -6
2003-04-23  Nick Drochak  <ndrochak at gol.com>
 
        * ArrayTest.cs: Disambiguate overloads now in .NET 1.1.
Is messing up the build.

I get the following error with mono/mcs:

make[2]: Entering directory `/devel/mcs/class/corlib/Test'
MONO_PATH=../../../class/lib:. mono ../../../mcs/mcs.exe --target
library --noconfig  -o corlib_test.dll /debug+ /debug:full
-r ../../../class/lib/corlib.dll -r ../../../class/lib/System.dll -r
../../../class/lib/NUnit.Framework.dll @.response
System/ArrayTest.cs(578) error CS1502: The best overloaded match for
method 'System.Array System.Array.CreateInstance (System.Type, int)' has
some invalid arguments
System/ArrayTest.cs(578) error CS1503: Argument 1: Cannot convert from
'long[]' to 'int'
System/ArrayTest.cs(578) error CS1502: The best overloaded match for
method 'System.Array System.Array.CreateInstance (System.Type, int[])'
has some invalid arguments
System/ArrayTest.cs(578) error CS1503: Argument 1: Cannot convert from
'long[]' to 'int[]'
System/ArrayTest.cs(578) error CS8006: Could not find any applicable
function for this argument list
System/ArrayTest.cs(1116) error CS1502: The best overloaded match for
method 'object System.Array.GetValue (int[])' has some
invalid arguments
System/ArrayTest.cs(1116) error CS1503: Argument 0: Cannot convert from
'long[]' to 'int[]'
System/ArrayTest.cs(1116) error CS1502: The best overloaded match for
method 'object System.Array.GetValue (int)' has some invalid arguments
System/ArrayTest.cs(1116) error CS1503: Argument 0: Cannot convert from
'long[]' to 'int'
System/ArrayTest.cs(1116) error CS8006: Could not find any applicable
function for this argument list
System/ArrayTest.cs(1687) error CS1502: The best overloaded match for
method 'void System.Array.SetValue (object, int[])' has some invalid
arguments
System/ArrayTest.cs(1687) error CS1503: Argument 1: Cannot convert from
'long[]' to 'int[]'
System/ArrayTest.cs(1687) error CS1502: The best overloaded match for
method 'void System.Array.SetValue (object, int)' has some invalid
arguments
System/ArrayTest.cs(1687) error CS1503: Argument 1: Cannot convert from
'long[]' to 'int'
System/ArrayTest.cs(1687) error CS8006: Could not find any applicable
function for this argument list

Reverting your changes fixed everything up.

-- Ben



More information about the Mono-devel-list mailing list