IDEA-131658 try-catch-finally is not supported

This commit is contained in:
Egor.Ushakov
2014-10-21 18:06:04 +04:00
parent 0bcd7fba5c
commit d00bc545fe
5 changed files with 47 additions and 1 deletions

View File

@@ -132,7 +132,7 @@ public class CatchAllStatement extends Statement {
if (first.type == TYPE_TRYCATCH && first.varDefinitions.isEmpty() && isFinally &&
!labeled && !first.isLabeled() && (lstSuccs.isEmpty() || !lstSuccs.get(0).explicit)) {
TextBuffer content = ExprProcessor.jmpWrapper(first, indent, true, tracer);
content.setStart(content.length() - new_line_separator.length());
content.setLength(content.length() - new_line_separator.length());
buf.append(content);
}
else {