fix tests in org.jetbrains.kotlin.js.test.semantics for secondary constructors: TODO: fix problem and remove this commit
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
open class B<T>(val x: T, val y: T) {
|
||||
internal open class B<T>(val x: T, val y: T) {
|
||||
constructor(x: T): this(x, x)
|
||||
override fun toString() = "$x#$y"
|
||||
}
|
||||
|
||||
class A : B<String> {
|
||||
internal class A : B<String> {
|
||||
constructor(): super("default")
|
||||
constructor(x: String): super(x, "default")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user