I have compiled the following (which is almost identical to your code) and works fine for the get and set method.
package {
public interface IGet
{
function get test():int;
}
}
package {
public interface ISet
{
function set test(i:int):void;
}
}
package {
public interface ISplit extends IGet, ISet {
}
}
package {
public class SplitTest implements ISplit {
public function SplitTest() {
}
public function set test(i:int):void {
trace("Set");
}
public function get test():int {
trace("Get");
}
}
}
The following is shown on the main line:
var foo:SplitTest = new SplitTest();
foo.test;
foo.test = 1;
And outputs:
Get
Set
source
share