64f67f30f0
The previous commit made JetThisExpression not implement JetStatementExpression. This had the side effect that smartSelectExpression over a label-qualified this expression (e.g 'this@outerClass') would now also list a plain 'this' as a potential expression. Restore the old behaviour by adding an explicit check for JetThisExpression.
10 lines
139 B
Kotlin
10 lines
139 B
Kotlin
class Foo() {
|
|
val s = th<caret>is@Foo.toString()
|
|
}
|
|
|
|
// 'this' should not be listed, only 'this@Foo'
|
|
/*
|
|
this@Foo
|
|
this@Foo.toString()
|
|
*/
|