Don't highlight 'this' references as deprecated

#KT-17613 Fixed
This commit is contained in:
Dmitry Jemerov
2017-05-08 16:12:44 +02:00
parent 5d31e00d27
commit 675305fef3
7 changed files with 47 additions and 1 deletions
@@ -0,0 +1,7 @@
// !DIAGNOSTICS: -UNUSED_VARIABLE
@Deprecated("Use A instead") open class MyClass {
fun foo() {
val test = this
}
}
@@ -0,0 +1,9 @@
package
@kotlin.Deprecated(message = "Use A instead") public open class MyClass {
public constructor MyClass()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public final fun foo(): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}