Fix smart step into to Kotlin SAM adapter (KT-21538)

#KT-21538 Fixed
This commit is contained in:
Nikolay Krasko
2017-12-15 15:05:54 +03:00
parent adfee2086a
commit a3028beca9
4 changed files with 40 additions and 1 deletions
@@ -0,0 +1,15 @@
package kotlinSamFunction
import forTests.MyJavaClass
class KotlinSubclass : MyJavaClass() {
override fun other(runnable: Runnable) {
super.other(runnable)
}
}
fun main(args: Array<String>) {
val klass = KotlinSubclass()
//Breakpoint!
klass.other { /* do nothing*/ }
}
@@ -0,0 +1,9 @@
LineBreakpoint created at kotlinSamFunction.kt:14
Run Java
Connected to the target VM
kotlinSamFunction.kt:14
kotlinSamFunction.kt:7
resuming kotlinSamFunction.kt:14
Disconnected from the target VM
Process finished with exit code 0