You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Michael Scharp (JIRA)" <ji...@apache.org> on 2013/10/04 19:05:45 UTC

[jira] [Commented] (FLEX-11200) asdoc throws errors if an MXML file includes an AS file that uses public or private scopes for variables or functions

    [ https://issues.apache.org/jira/browse/FLEX-11200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13786336#comment-13786336 ] 

Michael Scharp commented on FLEX-11200:
---------------------------------------

I'd like to Vote for this to be reopened.  As noted by others, the proposed workarounds are not very acceptable.  Having to restructure packages or maintaining a list of individual files/directories for asdoc to generate documentation for isn't realistic.  I have a sample application that replicates the error, but not sure how to upload it.

> asdoc throws errors if an MXML file includes an AS file that uses public or private scopes for variables or functions
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLEX-11200
>                 URL: https://issues.apache.org/jira/browse/FLEX-11200
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: ASDoc Tool
>    Affects Versions: Adobe Flex SDK Previous
>         Environment: Affected OS(s): Linux
> Affected OS(s): 
> Language Found: English
>            Reporter: Adobe JIRA
>            Assignee: Adobe JIRA
>
>       Steps to reproduce:
> foo.mxml:
>         <mx:Script  >
>         <![CDATA[
>  include "fooSupport.as";
>         ]]
>       >
>         </mx:Script>
> fooSupport.as:
> private var thumbWidth:Number=2;
>  Actual Results:
>  col: 1 Error: The private attribute may be used only on class property definitions.
> private var thumbWidth:Number=2;
>  Expected Results:
>  Class documented correctly (do include into the parent, document the parent class, auto-exclude the included file).
>  
>  Workaround (if any):
> Exclude the included class.
>     



--
This message was sent by Atlassian JIRA
(v6.1#6144)