Skip to content
This repository was archived by the owner on Jun 17, 2025. It is now read-only.
This repository was archived by the owner on Jun 17, 2025. It is now read-only.

Infinity loops on incorrect nested brackets closing #9

@Maqentaer

Description

@Maqentaer

how to reproduce:

var Parser = require('jsdoctypeparser').Parser;
var parser = new Parser();
var result = parser.parse('Array.<Array.<String}>'); // hangs here

other problem strings:
{test: function(Function}
{test: Array.<String}
{test: Array.<String}>}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions