KT-12046 Java to Kotlin dangerous conversion (recursive property set)
#KT-12046 Fixed
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
public class C {
|
||||
protected String x = "";
|
||||
|
||||
public String getX() {
|
||||
return x;
|
||||
}
|
||||
|
||||
public void setX(String x) {
|
||||
System.out.println("setter invoked");
|
||||
this.x = x;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user