Copy link to clipboard
Copied
In our current product we have 2 interfaces (Interface1 and Interface2), Interface2 extends Interface1.
In Interface1 we set the getter for a property, and in Interface 2 we set the setter for the same property, here is the code:
public interface ILoadable |
{
function get ColorScheme():String; |
}
public interface IUploadable extends ILoadable | |
{ |
function set ColorScheme(value:String):void;
}
This was working fine in AIR SDK 3.5, but when we upgraded to SDK 15, we get this error:
Error: Cannot override an interface method. Method ColorScheme conflicts with a method in base interface ILoadable.
Is this a bug in the SDK? or is the new SDK more strict, not allowing a getter and setter being located in separate interfaces/classes?