Re: SVN Not building?

Cory Foy <[email protected]> Sat, 30 Aug 2008 08:30:12 -0400
Newsgroups gmane.comp.windows.dotnet.nunit.devel
Message-ID <[email protected]>
Hi Charlie,


Charlie Poole wrote:
> AreEqual has an (object,object) overload, which is used in this
> case by both MS and Mono. Greater has (IComparable,IComparable) 
> which MS uses, but Mono does not use.
> 
> Mono is picking up the (int,int) overload and trying to use it,
> but there is no implicit conversion of int? to int. If I comment
> out the (int,int) overload, it goes on to try (uint,uint). I'll
> create a simpler test case to see if it /ever/ uses the
> IComparable interface.
> 
> Fact is, Nullable<T> does't implement IComparable! Apparently
> the MS compiler is doing some magic with int? that Mono is
> not duplicating.

Fun stuff. Perhaps we can come up with a simple example which works on 
one but not the other to send over to the Mono guys.

> For now, I applied your fix of removing these tests from the
> Mono build.

Ok, thanks! Now to figure out why the tests aren't running...

-- 
Cory Foy
http://www.cornetdesign.com
http://www.agileflorida.com


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/