RedundantLambdaArrowInspection: fix false positive when receiver is qualified expression

#KT-37502 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-03-24 19:30:24 +09:00
committed by Ilya Kirillov
parent 487e1ddddc
commit e5b4b03314
3 changed files with 15 additions and 1 deletions
@@ -0,0 +1,8 @@
// PROBLEM: none
object A {
fun <T> foo(f: (T) -> Int) {}
}
fun test() {
A.foo { <caret>_: String -> 24 }
}