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

Broken jsdocs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 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
              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

                  Clockify

                    Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.