JS frontend: remove diagnostics about the secondary constructors are not supported
This commit is contained in:
-15
@@ -1,15 +0,0 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
|
||||
class A {
|
||||
<!SECONDARY_CONSTRUCTOR!>constructor()<!> {}
|
||||
}
|
||||
|
||||
class B {
|
||||
<!SECONDARY_CONSTRUCTOR!>constructor()<!> {}
|
||||
<!SECONDARY_CONSTRUCTOR!>constructor(a: Int)<!> {}
|
||||
}
|
||||
|
||||
class C(a: Int) {
|
||||
<!SECONDARY_CONSTRUCTOR!>constructor()<!> : this(1) {}
|
||||
<!SECONDARY_CONSTRUCTOR!>constructor(a: String)<!> : this(2) {}
|
||||
}
|
||||
-25
@@ -1,25 +0,0 @@
|
||||
package
|
||||
|
||||
internal final class A {
|
||||
public constructor A()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
internal final class B {
|
||||
public constructor B()
|
||||
public constructor B(/*0*/ a: kotlin.Int)
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
internal final class C {
|
||||
public constructor C()
|
||||
public constructor C(/*0*/ a: kotlin.Int)
|
||||
public constructor C(/*0*/ a: kotlin.String)
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
Reference in New Issue
Block a user