LearnNewsExamplesServices
Frontmatter
id4795
titleNeo.tree.Accordion: Throwing jsdocx errors on build, on line 40 and 51
stateClosed
labels
bug
assigneestobiu
createdAtAug 29, 2023, 3:10 PM
updatedAtAug 30, 2023, 9:56 AM
githubUrlhttps://github.com/neomjs/neo/issues/4795
authoralberthashani
commentsCount3
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtAug 30, 2023, 9:56 AM

Neo.tree.Accordion: Throwing jsdocx errors on build, on line 40 and 51

Closed v8.1.0 bug
alberthashani
alberthashani commented on Aug 29, 2023, 3:10 PM

Errors:

repoX@0.1.0 generate-docs-json node ./node_modules/neo.mjs/buildScripts/docs/jsdocx.mjs

Start default jsdocx parsing. Error: ERROR: Unable to parse a tag's type expression for source file /Users/username/repos/repoX/node_modules/neo.mjs/src/tree/Accordion.mjs in line 40 with tag title "member" and text "{Record[|null} selection=null": Invalid type expression "Record[|null": Expected "!", "#", "$", "(", "-", ".", "/", "0", ":", "<", "=", "?", "@", "[]", "\", "", "|", "~", "‌", "‍", Unicode combining mark, Unicode decimal number, Unicode letter number, Unicode lowercase letter, Unicode modifier letter, Unicode other letter, Unicode punctuation connector, Unicode titlecase letter, Unicode uppercase letter, [1-9], or end of input but "[" found. ERROR: Unable to parse a tag's type expression for source file /Users/username/repos/repoX/node_modules/neo.mjs/src/tree/Accordion.mjs in line 51 with tag title "member" and text "{Record[|null} selection=null": Invalid type expression "Record[|null": Expected "!", "#", "$", "(", "-", ".", "/", "0", ":", "<", "=", "?", "@", "[]", "\", "", "|", "~", "‌", "‍", Unicode combining mark, Unicode decimal number, Unicode letter number, Unicode lowercase letter, Unicode modifier letter, Unicode other letter, Unicode punctuation connector, Unicode titlecase letter, Unicode uppercase letter, [1-9], or end of input but "[" found.

alberthashani added the bug label on Aug 29, 2023, 3:10 PM
tobiu assigned to @Dinkh on Aug 29, 2023, 4:22 PM
tobiu
tobiu Aug 29, 2023, 4:23 PM

Torsten, can you take a look into it?

Probably this one: @member {Record[|null} selection=null

=> Record is not a knwon type in JS, so probably something like: {Object[]|null}. Not closing the ] can also cause issues. Same story for methods.

tobiu
tobiu Aug 30, 2023, 9:55 AM

alright, i will take care of this one then.

tobiu assigned to @tobiu on Aug 30, 2023, 9:55 AM
tobiu unassigned from @Dinkh on Aug 30, 2023, 9:55 AM
tobiu referenced in commit fa46556 - "Neo.tree.Accordion: Throwing jsdocx errors on build, on line 40 and 51 #4795" on Aug 30, 2023, 9:56 AM
tobiu
tobiu Aug 30, 2023, 9:56 AM

@alberthashani: the docs build works again.

tobiu closed this issue on Aug 30, 2023, 9:56 AM