[JS IR BE] Support try-catch-finally in new backend
This commit is contained in:
committed by
Roman Artemev
parent
cdfcedb897
commit
b65443dd25
@@ -367,9 +367,9 @@ class SymbolTable {
|
||||
}
|
||||
}
|
||||
|
||||
inline fun <T> SymbolTable.withScope(owner: DeclarationDescriptor, block: () -> T): T {
|
||||
inline fun <T> SymbolTable.withScope(owner: DeclarationDescriptor, block: SymbolTable.() -> T): T {
|
||||
enterScope(owner)
|
||||
val result = block()
|
||||
val result = block(this)
|
||||
leaveScope(owner)
|
||||
return result
|
||||
}
|
||||
Reference in New Issue
Block a user