flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Scharp (JIRA)" <j...@apache.org>
Subject [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
Date Fri, 04 Oct 2013 17:05:45 GMT

    [ 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)

Mime
View raw message