Inline function: fix it works correctly for callable reference receiver

#KT-26248 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-01-08 13:29:39 +09:00
committed by Mikhail Glukhikh
parent 272ca002d7
commit 6b2e58cc0b
4 changed files with 17 additions and 0 deletions
@@ -0,0 +1,5 @@
fun main() {
val second = listOf("hello", "world")
val result = second.any(listOf("hello")::contains)
println(result)
}