Convert reference to lambda intention introduced #KT-13393 Fixed
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
class Wrapper<T>(private val x: T) {
|
||||
fun unwrap() = x
|
||||
}
|
||||
|
||||
val unwrapped = listOf(Wrapper(1), Wrapper("B")).map(<caret>Wrapper<out Any>::unwrap)
|
||||
Reference in New Issue
Block a user