[Mono-dev] Another compiler bug?

Jerry Haltom wasabi at larvalstage.net
Sun Mar 11 23:01:59 EDT 2007


Strike that, I'm an idiot. Sorry I sent that to the list.

On Sun, 2007-03-11 at 21:56 -0500, Jerry Haltom wrote:
> using System;
> 
> namespace Bug
> {
> 	public abstract class TestA
> 	{
> 		public abstract int P { get; }
> 	}
> 	
> 	public abstract class TestB : TestA
> 	{
> 	}
> 	
> 	public class TestC : TestB
> 	{
> 		public int P { get { return 1; } }
> 	}
> }
> 
> Bug does not implement inherited abstract member
> `Bug.TestA.P.get'(CS0534)
> 
> Um... since TestB is abstract, TestB should not require me to implement
> it... and the implementation in TestC should be chosen. And TestC should
> work.
> 
> ii  mono-gmcs      1.2.3.1-1ubunt Mono C# 2.0 compiler
> 
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 




More information about the Mono-devel-list mailing list