Files
kotlin-fork/idea/idea-completion/testData/basic/common/smartCast/SmartCastForThis.kt
T
2015-08-14 18:10:40 +03:00

11 lines
166 B
Kotlin
Vendored

trait Expr {
public fun testThis() {
if (this is Num) {
this.<caret>
}
}
}
class Num(val toCheck : Int) : Expr
// EXIST: toCheck