KT-12046 Java to Kotlin dangerous conversion (recursive property set)
#KT-12046 Fixed
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
class C {
|
||||
private int aaa = 0;
|
||||
private int bbb = 0;
|
||||
private int ccc = 0;
|
||||
private int ddd = 0;
|
||||
|
||||
public int getAaa() {
|
||||
return bbb;
|
||||
}
|
||||
|
||||
public int getBbb() {
|
||||
return ccc;
|
||||
}
|
||||
|
||||
public int getCcc() {
|
||||
return ddd;
|
||||
}
|
||||
|
||||
public int getDdd() {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user