Make isFromJava check work for SAM adapter extension descriptors (KT-21538)
Consider all callable descriptor in JavaClassDescriptor to be from Java. This is used to check if smart step into should be intercepted by Kotlin handler or delegated to Java. #KT-21538 Fixed
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
package javaSamFunction
|
||||
|
||||
import forTests.MyJavaClass
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val klass = MyJavaClass()
|
||||
//Breakpoint!
|
||||
klass.other { /* do nothing*/ }
|
||||
}
|
||||
Reference in New Issue
Block a user