Try-catch-finally statements & correct line numbers

This commit is contained in:
Alexander Udalov
2012-11-22 17:35:30 +04:00
parent ca587513e3
commit 0f496eac21
8 changed files with 113 additions and 10 deletions
@@ -303,6 +303,18 @@ public class LineNumberTest extends TestCaseWithTmpdir {
doTestCustom();
}
public void testTryCatchExpression() {
doTestCustom();
}
public void testTryCatchFinally() {
doTestCustom();
}
public void testTryFinally() {
doTestCustom();
}
public void testStaticDelegate() {
JetFile foo = createPsiFile("staticDelegate/foo.kt");
JetFile bar = createPsiFile("staticDelegate/bar.kt");