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.
It should be possible for one to add a special comment at the end of a line which disables error checking for that line. As an example of where this is helpful, the following python code-snippet shows up as having an error (on the first return line), when in fact it does not: def amethod(self): deltas=(0,6,12,18,24) def sgen(*endpoints): endpoints = [pt-18 for pt in endpoints] return somefunc(*endpoints, deltas=deltas) return self.othermethod(sgen) The bottom line is that there will always be room for bugs in the error-parsing code, so when a human knows better than the parser, s/he should be able to tell it to shut up.
Possible in the next release planned for August. Closing this.
Thanks for your evaluation Julien. Reporter, if you think your issue is still valid and needs to be addressed, don't hesitate to reopen it with additional information. Closing for now.