Files
kotlin-fork/idea/idea-completion/testData/handlers/runtimeCast/InsertFunction.kt
T
Valentin Kipyatkov bb808b5620 Created module idea-test-framework and moved classes needed for idea tests there
Moved tests for completion and their test data into module idea-completion
2015-04-14 18:53:01 +03:00

12 lines
179 B
Kotlin
Vendored

fun main(args: Array<String>) {
val b: Base = Derived()
<caret>val a = 1
}
open class Base
class Derived: Base() {
fun funInDerived() { }
}
// RUNTIME_TYPE: Derived