Smart step into skips methods from subclasses

#KT-11705 Fixed
This commit is contained in:
Natalia Ukhorskaya
2016-03-31 11:39:58 +03:00
parent c91026f0c0
commit 4d8673d097
4 changed files with 42 additions and 2 deletions
@@ -0,0 +1,20 @@
package smartStepIntoSubClass
fun main(args: Array<String>) {
val x: Base = Impl()
// SMART_STEP_INTO_BY_INDEX: 1
//Breakpoint!
x.foo(args.toString())
}
open class Base {
open fun foo(s: String) {
val a = 1
}
}
class Impl: Base() {
override fun foo(s: String) {
val b = 1
}
}