Add inspections for implicit and explicit 'this' #KT-4580 Fixed
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
// WITH_RUNTIME
|
||||
// PROBLEM: none
|
||||
|
||||
class Foo {
|
||||
fun s(a: String) {}
|
||||
|
||||
fun test() {
|
||||
Bar().apply {
|
||||
<caret>this@Foo.s("")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class Bar {
|
||||
fun s() {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user