Fix usages of IGNORE_BACKEND_WITHOUT_CHECK
This commit is contained in:
+1
-1
@@ -1,2 +1,2 @@
|
||||
// TODO: See KT-13618
|
||||
// IGNORE_BACKEND_WITHOUT_CHECK: JS
|
||||
// IGNORE_BACKEND: JS
|
||||
|
||||
@@ -8,7 +8,7 @@ public final class SecondaryConstructors public constructor(x: kotlin.Boolean) {
|
||||
|
||||
private constructor(x: kotlin.Int) { /* compiled code */ }
|
||||
|
||||
public final inner class Inner<T : kotlin.String, G : kotlin.Int> where G : java.io.Serializable {
|
||||
public final inner class Inner<T : kotlin.String, G : kotlin.Int> where G : kotlin.Comparable<kotlin.Int> {
|
||||
public constructor(x: T, g: G) { /* compiled code */ }
|
||||
}
|
||||
|
||||
@@ -17,4 +17,8 @@ public final class SecondaryConstructors public constructor(x: kotlin.Boolean) {
|
||||
|
||||
internal constructor() { /* compiled code */ }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public final annotation class anno public constructor() : kotlin.Annotation {
|
||||
}
|
||||
|
||||
|
||||
+1
-3
@@ -1,7 +1,5 @@
|
||||
package test
|
||||
|
||||
import java.io.Serializable
|
||||
|
||||
class SecondaryConstructors(x: Boolean) {
|
||||
init {
|
||||
}
|
||||
@@ -15,7 +13,7 @@ class SecondaryConstructors(x: Boolean) {
|
||||
private constructor(x: Int) : this(x < 0) {
|
||||
}
|
||||
|
||||
inner class Inner<T : String, G : Int> where G : Serializable {
|
||||
inner class Inner<T : String, G : Int> where G : Comparable<Int> {
|
||||
constructor(x: T, g: G) {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
// TODO Remove this restriction when secondary constructors will be supported in js backend.
|
||||
// See KT-7798 JS: add support for secondary constructors
|
||||
// https://youtrack.jetbrains.com/issue/KT-7798
|
||||
// IGNORE_BACKEND_WITHOUT_CHECK: JS
|
||||
Reference in New Issue
Block a user