mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-18 08:31:38 +00:00
JVM_IR: Unbox inline classes in suspend functions
if the function can be verified to safely returning unboxed inline class. Box the return value on resume path.
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
@Suppress("RESULT_CLASS_IN_RETURN_TYPE")
|
||||
suspend fun signInFlowStepFirst(): Result<Unit> = Result.success(Unit)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user