Convert reference to lambda: correct handling of static method references #KT-14982 Fixed
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// IS_APPLICABLE: false
|
||||
// WITH_RUNTIME
|
||||
val list = listOf(1, 2, 3).map(<caret>Utils::foo)
|
||||
|
||||
object Utils {
|
||||
fun foo(x: Int) = x
|
||||
}
|
||||
Reference in New Issue
Block a user