Disable tail call optimization, if the call is inside try block
#KT-21165: Fixed
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
suspend fun catchException(): String {
|
||||
try {
|
||||
return suspendWithException()
|
||||
}
|
||||
catch(e: Exception) {
|
||||
return e.message!!
|
||||
}
|
||||
}
|
||||
|
||||
suspend fun suspendWithException(): String = TODO()
|
||||
Reference in New Issue
Block a user