Java to Kotlin conversion: keep constructor access modifier

This commit is contained in:
Valentin Kipyatkov
2014-06-02 22:54:47 +04:00
parent ffa3ff3bbd
commit ebcb04b73b
15 changed files with 75 additions and 25 deletions
@@ -0,0 +1,13 @@
//file
class C {
private C(int arg1, int arg2, int arg3) {
}
private C(int arg1, int arg2) {
this(arg1, arg2, 0);
}
public C(int arg1) {
this(arg1, 0, 0);
}
}