This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
JSDoc provides two ways of specifying an optional argument: In the following sample both are valid optional arguments. /** * Make a select widget. * * @param {Widget} [widget1] * Widget 1 * @param {Widget=} widget2 * Widget 2 */ foo(widget1, widget2) { } NetBeans treats the first as it should, but the second for `widget2' treats the type as `Widget='.
Implemented in the web-main. Thanks for reporting.