Josh Tynjala created FLEX-35334:
-----------------------------------

             Summary: @externs with ActionScript classes works correctly, but 
incorrect output on an interface
                 Key: FLEX-35334
                 URL: https://issues.apache.org/jira/browse/FLEX-35334
             Project: Apache Flex
          Issue Type: Bug
          Components: FalconJX
    Affects Versions: Apache FalconJX 0.8.0
            Reporter: Josh Tynjala


Compiling the following class with compc will correctly produce 
externs/ClassExterns.js in the output SWC with a proper @externs tag in the 
first jsdoc comment:

{code}
package
{
        /**
         * @externs
         */
        public class ClassExterns
        {
                public var variable:String;
                public function get prop():String {return null};
                public function set prop(value:String):void {};
                public function method():Number {return 0};
        }
}
{code}

However, the following interface produces js/out/InterfaceExterns and the 
@externs tag is missing in the first jsdoc comment:

{code}
package
{
        /**
         * @externs
         */
        public interface InterfaceExterns
        {
                function get prop():String;
                function set prop(value:String):void;
                function method():Number;
        }
}
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to