RemoveRedundantQualifierNameInspection: fix false positive
#KT-32112 Fixed
This commit is contained in:
+14
@@ -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()
|
||||
Reference in New Issue
Block a user