KT-65897: add exporting of kotlin constructors as Swift constructors #KT-65897 fixed
Merge-request: KT-MR-14734 Merged-by: Artem Olkov <artem.olkov@jetbrains.com>
This commit is contained in:
+5
-1
@@ -1,5 +1,9 @@
|
||||
public class ClassWithNonPublicConstructor internal constructor(public val a: Int)
|
||||
|
||||
class Foo {
|
||||
class Foo (a: Int) {
|
||||
constructor(f: Float) : this(f.toInt())
|
||||
|
||||
private constructor(d: Double) : this(d.toInt())
|
||||
class INSIDE_CLASS {
|
||||
fun my_func(): Boolean = TODO()
|
||||
|
||||
|
||||
+1
-1
@@ -29,4 +29,4 @@ abstract class ABSTRACT_CLASS
|
||||
|
||||
sealed class SEALED {
|
||||
object O : SEALED()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user