1
Vote

Bug in StatementVisitor in case of missing catch clause

description

The code in the StatementVisitor class assumes, that a try-statement is always followed by a catch-clause; this is not necessarily the case, e.g. if only a finally-clause is specified.

The code should check for existence of Catch, before visiting (in v03 line 237 in JSAnalyse.Core/Parser/StatementVisitor.cs).

comments