Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-72813

Broken jsdocs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0
    • Component/s: JavaScript
    • Labels:

      Description

      Introduced by MDL-71938 and others (71938 is the worst):

      Running "jsdoc:dist" (jsdoc) task
      >> WARNING: The @package tag does not permit a value; the value will be ignored. File: comment.js, line: 16
      >> WARNING: The @package tag does not permit a value; the value will be ignored. File: repository.js, line: 16
      >> WARNING: The @package tag does not permit a value; the value will be ignored. File: selectors.js, line: 16
      >> ERROR: Unable to parse a tag's type expression for source file /Users/nicols/Sites/moodles/im/moodle/admin/tool/usertours/amd/src/tour.js in line 361 with tag title "return" and text "{{stepId: number, position: number}[]} An associative array with stepNumber as keys
      >>                                                and an object of stepId and position as values.": Invalid type expression "{stepId: number, position: number}[]": Expected "!", "=", "?", "|", or end of input but "[" found.
      >> ERROR: Unable to parse a tag's type expression for source file /Users/nicols/Sites/moodles/im/moodle/admin/tool/usertours/amd/src/tour.js in line 367 with tag title "return" and text "{{stepId: number, position: number}[]} An associative array with stepNumber as keys
      >>                                                and an object of stepId and position as values.": Invalid type expression "{stepId: number, position: number}[]": Expected "!", "=", "?", "|", or end of input but "[" found.
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dobedobedoh Andrew Lyons
              Reporter:
              dobedobedoh Andrew Lyons
              Peer reviewer:
              Huong Nguyen Huong Nguyen
              Integrator:
              Jun Pataleta Jun Pataleta
              Tester:
              Jun Pataleta Jun Pataleta
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 36 minutes
                  36m