Java to Kotlin converter: fixed two similar bugs
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
//file
|
||||
class C {
|
||||
private final String string;
|
||||
|
||||
public C(String s, int a) {
|
||||
this.string = s;
|
||||
}
|
||||
|
||||
public C(String s) {
|
||||
this(s, s.length());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user