You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Peter Ent <pe...@adobe.com.INVALID> on 2017/06/30 17:25:20 UTC

[FLEXJS] ASDoc Issues

I'm running the asdoc target in flex-asjs and it has rejected a couple of things in Core/main/flex/Promise.as such as:

    [asdoc] /Users/pent/dev/flex-asjs/frameworks/projects/Core/src/main/flex/Promise.as(270): col: 19 Error: Syntax error: expecting identifier before catch.
    [asdoc]
    [asdoc] public function catch(onRejected:Function = null):IThenable

Since "catch" is a keyword I'm surprised this compiles at all. Should Promise.as be excluded from ASDoc for now?

—peter

Re: [FLEXJS] ASDoc Issues

Posted by Peter Ent <pe...@adobe.com.INVALID>.
Ah, I misunderstood which asdoc-config file.

On 6/30/17, 1:31 PM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:

>The asdoc target doesn't work because we've extended ActionScript for
>FlexJS.  We only care about the ASDoc Example.  I guess we should comment
>out the asdoc target for now.  Also, it looks like the ASDoc example uses
>its own asdic-config.xml file in its src/main/config folder.
>
>-Alex
>
>On 6/30/17, 10:25 AM, "Peter Ent" <pe...@adobe.com.INVALID> wrote:
>
>>I'm running the asdoc target in flex-asjs and it has rejected a couple of
>>things in Core/main/flex/Promise.as such as:
>>
>>    [asdoc] 
>>/Users/pent/dev/flex-asjs/frameworks/projects/Core/src/main/flex/Promise.
>>a
>>s(270): col: 19 Error: Syntax error: expecting identifier before catch.
>>    [asdoc]
>>    [asdoc] public function catch(onRejected:Function = null):IThenable
>>
>>Since "catch" is a keyword I'm surprised this compiles at all. Should
>>Promise.as be excluded from ASDoc for now?
>>
>>‹peter
>


Re: [FLEXJS] ASDoc Issues

Posted by Alex Harui <ah...@adobe.com.INVALID>.
The asdoc target doesn't work because we've extended ActionScript for
FlexJS.  We only care about the ASDoc Example.  I guess we should comment
out the asdoc target for now.  Also, it looks like the ASDoc example uses
its own asdic-config.xml file in its src/main/config folder.

-Alex

On 6/30/17, 10:25 AM, "Peter Ent" <pe...@adobe.com.INVALID> wrote:

>I'm running the asdoc target in flex-asjs and it has rejected a couple of
>things in Core/main/flex/Promise.as such as:
>
>    [asdoc] 
>/Users/pent/dev/flex-asjs/frameworks/projects/Core/src/main/flex/Promise.a
>s(270): col: 19 Error: Syntax error: expecting identifier before catch.
>    [asdoc]
>    [asdoc] public function catch(onRejected:Function = null):IThenable
>
>Since "catch" is a keyword I'm surprised this compiles at all. Should
>Promise.as be excluded from ASDoc for now?
>
>—peter