mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 08:31:29 +00:00
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:
12
compiler/testData/codegen/boxAgainstJava/syntheticExtensions/setterNonVoid2.java
vendored
Normal file
12
compiler/testData/codegen/boxAgainstJava/syntheticExtensions/setterNonVoid2.java
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
class JavaClass {
|
||||
private String myX = "";
|
||||
|
||||
public String getX() {
|
||||
return myX;
|
||||
}
|
||||
|
||||
public double setX(String x) {
|
||||
myX = x;
|
||||
return 1.0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user