mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 08:31:29 +00:00
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:
@@ -1,4 +1,4 @@
|
||||
public open class Constructor : R|java/lang/Object| {
|
||||
public final fun Constructor(r: R|ft<java/lang/Runnable, java/lang/Runnable?>|!): R|test/Constructor|
|
||||
public constructor(r: R|ft<java/lang/Runnable, java/lang/Runnable?>|!): R|test/Constructor|
|
||||
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
public open class ConstructorWithAnnotations : R|java/lang/Object| {
|
||||
public final fun ConstructorWithAnnotations(r: R|ft<java/lang/Runnable, java/lang/Runnable?>|!, @R|org/jetbrains/annotations/NotNull|() s: R|kotlin/String|): R|test/ConstructorWithAnnotations|
|
||||
public constructor(r: R|ft<java/lang/Runnable, java/lang/Runnable?>|!, @R|org/jetbrains/annotations/NotNull|() s: R|kotlin/String|): R|test/ConstructorWithAnnotations|
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user