You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Harbs <ha...@gmail.com> on 2017/03/07 20:59:27 UTC

[compc] another output issue

There’s a class which has the following:
https://paste.apache.org/KEw5 <https://paste.apache.org/KEw5>


This is an internal class outside the file package.

In Javascript, it outputs the following:

  org.apache.flex.textLayout.edit.ModelEdit.DeleteTextMemento.base(this, 'constructor', textFlow);
  var /** @type {org.apache.flex.textLayout.elements.FlowLeafElement} */ startLeaf = textFlow.findLeaf(absoluteStart);
  var /** @type {org.apache.flex.textLayout.elements.FlowGroupElement} */ this.commonRoot = startLeaf.getParagraph().parent;

The third line is wrong. The “this” should not be there...

Re: [compc] another output issue

Posted by Alex Harui <ah...@adobe.com>.
Bugs relating to internal classes wouldn't surprise me either.

-Alex

On 3/7/17, 12:59 PM, "Harbs" <ha...@gmail.com> wrote:

>There’s a class which has the following:
>https://paste.apache.org/KEw5 <https://paste.apache.org/KEw5>
>
>
>This is an internal class outside the file package.
>
>In Javascript, it outputs the following:
>
>  org.apache.flex.textLayout.edit.ModelEdit.DeleteTextMemento.base(this,
>'constructor', textFlow);
>  var /** @type {org.apache.flex.textLayout.elements.FlowLeafElement} */
>startLeaf = textFlow.findLeaf(absoluteStart);
>  var /** @type {org.apache.flex.textLayout.elements.FlowGroupElement} */
>this.commonRoot = startLeaf.getParagraph().parent;
>
>The third line is wrong. The “this” should not be there...