Add inspections for implicit and explicit 'this' #KT-4580 Fixed

This commit is contained in:
Kirill
2017-10-20 20:54:01 +03:00
committed by Mikhail Glukhikh
parent 817f79520a
commit 89c4196c06
41 changed files with 694 additions and 1 deletions
@@ -0,0 +1,15 @@
// WITH_RUNTIME
// PROBLEM: none
class Foo {
fun test() {
Bar().apply {
<caret>this@Foo.s("")
}
}
}
class Bar
fun Foo.s(a: String) {}
fun Bar.s() {}