Support for secondary constructors in j2k
This commit is contained in:
@@ -1,36 +1,29 @@
|
||||
fun A(a: Int): A {
|
||||
return A()
|
||||
class A() {
|
||||
|
||||
public constructor(a: Int) : this() {
|
||||
}
|
||||
|
||||
protected constructor(c: Char) : this() {
|
||||
}
|
||||
|
||||
constructor(f: Float) : this() {
|
||||
}
|
||||
|
||||
private constructor(d: Double) : this() {
|
||||
}
|
||||
}
|
||||
|
||||
fun A(c: Char): A {
|
||||
return A()
|
||||
}
|
||||
public class B() {
|
||||
|
||||
fun A(f: Float): A {
|
||||
return A()
|
||||
}
|
||||
public constructor(a: Int) : this() {
|
||||
}
|
||||
|
||||
private fun A(d: Double): A {
|
||||
return A()
|
||||
}
|
||||
protected constructor(c: Char) : this() {
|
||||
}
|
||||
|
||||
class A
|
||||
constructor(f: Float) : this() {
|
||||
}
|
||||
|
||||
|
||||
public fun B(a: Int): B {
|
||||
return B()
|
||||
}
|
||||
|
||||
public fun B(c: Char): B {
|
||||
return B()
|
||||
}
|
||||
|
||||
fun B(f: Float): B {
|
||||
return B()
|
||||
}
|
||||
|
||||
private fun B(d: Double): B {
|
||||
return B()
|
||||
}
|
||||
|
||||
public class B
|
||||
private constructor(d: Double) : this() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user