In my quest to remove circular dependencies, I’ve created a whole slew of 
interfaces and I’ve come across an interesting problem:

    [compc] 
/Users/harbs/Documents/git/PrintUI/printui-flexjs/text_engine/frameworks/tlf/src/org/apache/flex/textLayout/elements/ISpanElement.as(8):
col: 3 Error: Cannot override an interface method.  Method text conflicts with 
a method in base interface IFlowLeafElement.
    [compc]
    [compc]             function set text(textValue : String) : void;
    [compc]             ^
    [compc]

I have a few of these kinds of errors. Basically, a base class has a getter for 
certain properties and somewhere down the sub-class chain, a subclass 
implements a setter as well. In this case, it’s “text”. The getter is 
implemented in FlowLeafElement and SpanElement subclasses that and implements 
the setter.

This works correctly when dealing with concrete classes. For some reason when 
done with interfaces, I get the error above.

Is this an easy fix?

Harbs

Reply via email to