Fix smart step into to Kotlin SAM adapter (KT-21538)
#KT-21538 Fixed
This commit is contained in:
+15
@@ -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*/ }
|
||||
}
|
||||
+9
@@ -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
|
||||
Reference in New Issue
Block a user