interface IInterface:
Property as bool:
get
class ExplicitImplementation(IInterface):
Property:
get:
returnfalse
IInterface.Property:
get:
returntrue
t as IInterface = ExplicitImplementation()
assert t.Property
It obviously should not fail, Boo currently generates the following IL for code above :
interface IInterface:
Property as bool:
get
class ExplicitImplementation(IInterface):
Property:
get:
returnfalse
IInterface.Property:
get:
returntrue
t as IInterface = ExplicitImplementation()
assert t.Property
It obviously should not fail, Boo currently generates the following IL for code above :
Problem is that the explicit interface implementation uses the 'implicit' implementation when there is one available.
If there is only explicit interface implementations there is no problem (each explicit impl uses its own impl) :