KT-2752: fix old tests, add test for clashing between class and its companion object
This commit is contained in:
Vendored
+1
-1
@@ -14,7 +14,7 @@ class A {
|
||||
fun Int.invoke(a: String, b: Int)<!> = "OK"
|
||||
|
||||
<!WRONG_ANNOTATION_TARGET!>@nativeInvoke<!>
|
||||
val foo = 0
|
||||
val baz = 0
|
||||
|
||||
<!WRONG_ANNOTATION_TARGET!>@nativeInvoke<!>
|
||||
object Obj {}
|
||||
|
||||
Vendored
+1
-1
@@ -2,7 +2,7 @@ package
|
||||
|
||||
public final class A {
|
||||
public constructor A()
|
||||
@kotlin.js.nativeInvoke() public final val foo: kotlin.Int = 0
|
||||
@kotlin.js.nativeInvoke() public final val baz: kotlin.Int = 0
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
@kotlin.js.nativeInvoke() public final fun foo(): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
Reference in New Issue
Block a user