FIR Java: fix constructor enhancements

Before this commit,
we generated regular member functions as constructor enhancement.
Now, we generate constructors as constructor enhancement.
This commit is contained in:
Mikhail Glukhikh
2019-04-16 16:26:07 +03:00
parent 2e966a7ded
commit 2476c0299f
18 changed files with 75 additions and 49 deletions
@@ -1,4 +1,4 @@
public open class ConstructorGenericDeep : R|java/lang/Object| {
public final fun ConstructorGenericDeep(cl: R|ft<java/lang/Class<ft<P, P?>>, java/lang/Class<ft<P, P?>>?>|!): R|test/ConstructorGenericDeep|
public constructor(cl: R|ft<java/lang/Class<ft<P, P?>>, java/lang/Class<ft<P, P?>>?>|!): R|test/ConstructorGenericDeep|
}
@@ -1,4 +1,4 @@
public open class ConstructorGenericSimple : R|java/lang/Object| {
public final fun ConstructorGenericSimple(p: R|ft<P, P?>|!): R|test/ConstructorGenericSimple|
public constructor(p: R|ft<P, P?>|!): R|test/ConstructorGenericSimple|
}
@@ -1,4 +1,4 @@
public open class ConstructorGenericUpperBound : R|java/lang/Object| {
public final fun ConstructorGenericUpperBound(p: R|ft<P, P?>|!): R|test/ConstructorGenericUpperBound|
public constructor(p: R|ft<P, P?>|!): R|test/ConstructorGenericUpperBound|
}