Created
February 11, 2023 08:38
-
-
Save Anamorphosee/80618dd989ec897f968521f907934594 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package shortened_stack_trace | |
import kotlinx.coroutines.delay | |
suspend fun fun3() { | |
delay(100) | |
throw RuntimeException() | |
} | |
suspend fun fun2() { | |
fun3() | |
println("fun2 ended") | |
} | |
suspend fun fun1() { | |
fun2() | |
println("fun1 ended") | |
} | |
suspend fun main() { | |
fun1() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment