RemoveRedundantQualifierNameInspection: fix false positive

#KT-32112 Fixed
This commit is contained in:
Dmitry Gridin
2019-06-20 19:50:16 +07:00
parent a170de2c56
commit 0b16c51baf
3 changed files with 30 additions and 7 deletions
@@ -0,0 +1,14 @@
// PROBLEM: none
package foo
class Foo {
fun test() {
<caret>foo.myRun {
42
}
}
}
inline fun <R> myRun(block: () -> R): R = block()
inline fun <T, R> T.myRun(block: T.() -> R): R = block()