Fix try statement extraction

This commit is contained in:
Tamas Vajk
2021-11-23 15:28:53 +01:00
committed by Ian Lynagh
parent 716b87d200
commit 4ca024f043
4 changed files with 10 additions and 7 deletions

View File

@@ -57,11 +57,9 @@
| stmts.kt:28:11:28:11 | x | VarAccess |
| stmts.kt:28:11:28:15 | ... > ... | GTExpr |
| stmts.kt:28:15:28:15 | y | VarAccess |
| stmts.kt:33:9:35:5 | <Stmt> | StmtExpr |
| stmts.kt:34:15:34:30 | new Exception(...) | ClassInstanceExpr |
| stmts.kt:34:26:34:28 | Foo | StringLiteral |
| stmts.kt:36:12:36:23 | Exception | TypeAccess |
| stmts.kt:36:12:36:23 | e | LocalVariableDeclExpr |
| stmts.kt:36:26:38:5 | <Stmt> | StmtExpr |
| stmts.kt:37:16:37:16 | 1 | IntegerLiteral |
| stmts.kt:39:13:41:5 | <Stmt> | StmtExpr |
| stmts.kt:40:16:40:16 | 2 | IntegerLiteral |

View File

@@ -0,0 +1 @@
| stmts.kt:33:5:41:5 | try ... | stmts.kt:33:9:35:5 | { ... } |

View File

@@ -0,0 +1,4 @@
import java
from TryStmt s
select s, s.getBlock()