[NI] Add capturing receiver type for callable references
#KT-30292 Fixed
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
// !LANGUAGE: +NewInference
|
||||
|
||||
fun test(ls: List<String>) {
|
||||
ls.takeIf(Collection<*>::isNotEmpty)
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package
|
||||
|
||||
public fun test(/*0*/ ls: kotlin.collections.List<kotlin.String>): kotlin.Unit
|
||||
Reference in New Issue
Block a user