Add regression tests for KT-46890 and other stuff
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
// WITH_RUNTIME
|
||||
// IGNORE_BACKEND: WASM
|
||||
fun <T> Result<T>.getOrNullNoinline() = getOrNull()
|
||||
|
||||
val x = { a: Int, b: Result<String> -> b.getOrNullNoinline() }
|
||||
|
||||
fun box() = x(1, Result.success("OK"))
|
||||
Reference in New Issue
Block a user