fix tests in org.jetbrains.kotlin.js.test.semantics for secondary constructors: TODO: fix problem and remove this commit

This commit is contained in:
Michael Nedzelsky
2015-09-07 22:22:49 +03:00
parent f6892580f6
commit e6e6b20885
6 changed files with 12 additions and 12 deletions
@@ -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")
}