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

Broken jsdocs

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 4.0
    • 4.0
    • JavaScript

    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

              dobedobedoh Andrew Lyons
              dobedobedoh Andrew Lyons
              Huong Nguyen Huong Nguyen
              Jun Pataleta Jun Pataleta
              Jun Pataleta Jun Pataleta
              Andrew Lyons, 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:
                19/Apr/22

                Time Tracking

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