KT-2752: move tests, that check whether there's no name clash, to JS backend tests
This commit is contained in:
-11
@@ -1,11 +0,0 @@
|
||||
package foo
|
||||
|
||||
class A
|
||||
|
||||
class B
|
||||
|
||||
val A.foo: Int
|
||||
get() = 32
|
||||
|
||||
val B.foo: Int
|
||||
get() = 42
|
||||
-20
@@ -1,20 +0,0 @@
|
||||
package
|
||||
|
||||
package foo {
|
||||
public val foo.A.foo: kotlin.Int
|
||||
public val foo.B.foo: kotlin.Int
|
||||
|
||||
public 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
|
||||
}
|
||||
|
||||
public final class B {
|
||||
public constructor B()
|
||||
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
|
||||
}
|
||||
}
|
||||
Vendored
-8
@@ -1,8 +0,0 @@
|
||||
package foo
|
||||
|
||||
class A
|
||||
|
||||
fun A.bar() = 32
|
||||
|
||||
val A.bar: Int
|
||||
get() = 32
|
||||
Vendored
-13
@@ -1,13 +0,0 @@
|
||||
package
|
||||
|
||||
package foo {
|
||||
public val foo.A.bar: kotlin.Int
|
||||
public fun foo.A.bar(): kotlin.Int
|
||||
|
||||
public 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
|
||||
}
|
||||
}
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
package foo
|
||||
|
||||
@JsName("bar") fun foo(x: Int) = x
|
||||
|
||||
private fun bar() = 42
|
||||
-6
@@ -1,6 +0,0 @@
|
||||
package
|
||||
|
||||
package foo {
|
||||
private fun bar(): kotlin.Int
|
||||
@kotlin.js.JsName(name = "bar") public fun foo(/*0*/ x: kotlin.Int): kotlin.Int
|
||||
}
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
package foo
|
||||
|
||||
fun bar() = 23
|
||||
|
||||
private val bar = 32
|
||||
Vendored
-6
@@ -1,6 +0,0 @@
|
||||
package
|
||||
|
||||
package foo {
|
||||
private val bar: kotlin.Int = 32
|
||||
public fun bar(): kotlin.Int
|
||||
}
|
||||
-11
@@ -1,11 +0,0 @@
|
||||
// FILE: foo.kt
|
||||
|
||||
package foo
|
||||
|
||||
fun bar(x: Int) = x
|
||||
|
||||
// FILE: foobar.kt
|
||||
|
||||
package foo.bar
|
||||
|
||||
val x = 42
|
||||
-9
@@ -1,9 +0,0 @@
|
||||
package
|
||||
|
||||
package foo {
|
||||
public fun bar(/*0*/ x: kotlin.Int): kotlin.Int
|
||||
|
||||
package foo.bar {
|
||||
public val x: kotlin.Int = 42
|
||||
}
|
||||
}
|
||||
Vendored
-13
@@ -1,13 +0,0 @@
|
||||
// FILE: foo.kt
|
||||
|
||||
package foo
|
||||
|
||||
private fun bar() = 23
|
||||
|
||||
private val bar = 42
|
||||
|
||||
// FILE: foobar.kt
|
||||
|
||||
package foo.bar
|
||||
|
||||
val x = 42
|
||||
Vendored
-10
@@ -1,10 +0,0 @@
|
||||
package
|
||||
|
||||
package foo {
|
||||
private val bar: kotlin.Int = 42
|
||||
private fun bar(): kotlin.Int
|
||||
|
||||
package foo.bar {
|
||||
public val x: kotlin.Int = 42
|
||||
}
|
||||
}
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
package foo
|
||||
|
||||
@native fun bar() = 23
|
||||
|
||||
val bar = 32
|
||||
-6
@@ -1,6 +0,0 @@
|
||||
package
|
||||
|
||||
package foo {
|
||||
public val bar: kotlin.Int = 32
|
||||
@kotlin.js.native() public fun bar(): kotlin.Int
|
||||
}
|
||||
Reference in New Issue
Block a user