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() { |
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
@file:Suppress("JAVA_MODULE_DOES_NOT_EXPORT_PACKAGE") | |
import jdk.internal.vm.Continuation | |
import jdk.internal.vm.ContinuationScope | |
internal class Wrapper<T>(val value: T) | |
class SequenceScope<T>( | |
private val seq: Sequence<T> | |
) { |
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
@file:Suppress("JAVA_MODULE_DOES_NOT_EXPORT_PACKAGE") | |
import jdk.internal.vm.Continuation | |
import jdk.internal.vm.ContinuationScope | |
import javax.swing.SwingUtilities | |
class UILoomScope( | |
private val continuationScope: ContinuationScope, | |
private val continuation: Continuation | |
) { |