Java to Kotlin converter: constructor overloads to default parameter values conversion
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
//file
|
||||
package pack
|
||||
|
||||
class C {
|
||||
C(int a, int b, int c, int d, int e) {
|
||||
}
|
||||
|
||||
C(int a, int b, int c) {
|
||||
this(b, a, c, 0, 0);
|
||||
}
|
||||
|
||||
C() {
|
||||
this(0, 0, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user