Support for secondary constructors in j2k

This commit is contained in:
Valentin Kipyatkov
2015-03-06 19:21:30 +01:00
parent b44dbe6ca2
commit 569e4a68ae
33 changed files with 367 additions and 589 deletions
@@ -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() {
}
}