Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Compiler
-
Labels:None
-
Environment:Mono 1.9.1 on Linux. Boo SVN r3011
-
Number of attachments :
Description
Hi there,
Given the following C# code compiled into a library:
public interface IFoo {
string Hello
}
public interface IBar : IFoo {
}
public class Foo : IFoo {
string IFoo.Hello {
get
}
public int Hello {
get
}
}
The following Boo code linking against it will fail to compile with the following error:
somethingelse.boo(1,17): BCE0047: Boo.Lang.Compiler.CompilerError: Method 'Foo.get_Hello()' cannot be overridden because it is not virtual.
somethingelse.boo(4,7): BCE0085: Boo.Lang.Compiler.CompilerError: Cannot create instance of abstract class 'Bar'.
class Bar (Foo, IBar):
pass
bar = Bar()
print bar.Hello
This may be related to BOO-1023, however I wasn't seeing any errors when trying the code in that bug report.
Thanks!