Don't try to transform sam wrappers in same module
#KT-22304 Fixed
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
package test
|
||||
|
||||
import java.util.concurrent.Callable
|
||||
|
||||
fun test(): String = ""
|
||||
|
||||
inline fun String.switchMapOnce(crossinline mapper: (String) -> String): String {
|
||||
Callable(::test)
|
||||
return { mapper(this) }()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user