KT-10747 "Incompatible stack heights" when compiling call to Java setter with non-void return type using property syntax
#KT-10747 Fixed
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
fun box(): String {
|
||||
val javaClass = JavaClass()
|
||||
if (javaClass.x.isEmpty()) {
|
||||
javaClass.x = "OK"
|
||||
}
|
||||
return javaClass.x
|
||||
}
|
||||
Reference in New Issue
Block a user