Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-34994

single-line asdoc comment /**...*/ generates invalid JS output

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Apache FlexJS 0.5.0
    • Apache FalconJX 0.6.0
    • Falcon, FlexJS
    • None

    Description

      When /** test */ is used on a single line to comment a public AS function, invalid JS output will be generated.

      AS input:

      package foo.bar {
      	public class TestComment {
      		/** test */ public function test():void { }
      	}
      }
      

      JS output (relevant part only):

      /** test */
       * @export
       */
      foo.bar.TestComment.prototype.test = function() {
      };
      

      Attachments

        Activity

          People

            aharui Alex Harui
            adufilie Andy Dufilie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: