[Mono-dev] Mono 2.8 regression

Jb Evain jbevain at gmail.com
Mon Dec 20 04:15:51 EST 2010


Hi,

On Mon, Dec 20, 2010 at 10:01 AM, Federico Di Gregorio <fog at initd.org> wrote:
> I'd like to have someone tell me «Eck! Whay did you do that? That's wrong!».

Eck! Why did you do that? That's wrong!

(You're welcome ;)

> test.cs(15,16): error CS0030: Cannot convert type
> `System.Func<string,int,T>' to `System.Func<string,int,S>'

Right, in the code you posted, there's no relation between T and S. So
naturally, you can't convert from one to the other. Just as you can't
convert Func<string, int> to Func<string, string>.

So It's not a regression, it's more like a bug fix.

Jb


More information about the Mono-devel-list mailing list