fix tests in org.jetbrains.kotlin.checkers
This commit is contained in:
Vendored
+1
-1
@@ -38,7 +38,7 @@ package p {
|
||||
// -- Module: <m3> --
|
||||
package
|
||||
|
||||
internal fun test(): kotlin.Unit
|
||||
public fun test(): kotlin.Unit
|
||||
|
||||
package p {
|
||||
public fun foo(/*0*/ a: p.A<kotlin.Int>): kotlin.Unit
|
||||
|
||||
compiler/testData/diagnostics/tests/multimodule/duplicateClass/differentGenericArgumentsReversed.txt
Vendored
+1
-1
@@ -38,7 +38,7 @@ package p {
|
||||
// -- Module: <m3> --
|
||||
package
|
||||
|
||||
internal fun test(): kotlin.Unit
|
||||
public fun test(): kotlin.Unit
|
||||
|
||||
package p {
|
||||
public fun foo(/*0*/ a: p.A): kotlin.Unit
|
||||
|
||||
+2
-2
@@ -28,7 +28,7 @@ package p {
|
||||
|
||||
public final class A {
|
||||
public constructor A()
|
||||
internal final val x: kotlin.Int = 1
|
||||
public final val x: kotlin.Int = 1
|
||||
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
|
||||
@@ -39,7 +39,7 @@ package p {
|
||||
// -- Module: <m3> --
|
||||
package
|
||||
|
||||
internal fun test(): kotlin.Unit
|
||||
public fun test(): kotlin.Unit
|
||||
|
||||
package p {
|
||||
public fun foo(/*0*/ a: p.A): kotlin.Unit
|
||||
|
||||
+1
-1
@@ -148,7 +148,7 @@ package p {
|
||||
// -- Module: <m3> --
|
||||
package
|
||||
|
||||
internal fun test(/*0*/ m1: p.M1): kotlin.Unit
|
||||
public fun test(/*0*/ m1: p.M1): kotlin.Unit
|
||||
|
||||
package p {
|
||||
public fun a(/*0*/ p: p.A): kotlin.Unit
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@ package p {
|
||||
// -- Module: <m3> --
|
||||
package
|
||||
|
||||
internal fun test(): kotlin.Unit
|
||||
public fun test(): kotlin.Unit
|
||||
|
||||
package p {
|
||||
public fun foo(/*0*/ a: p.A): kotlin.Unit
|
||||
|
||||
Vendored
+1
-1
@@ -38,7 +38,7 @@ package p {
|
||||
// -- Module: <m3> --
|
||||
package
|
||||
|
||||
internal fun test(): kotlin.Unit
|
||||
public fun test(): kotlin.Unit
|
||||
|
||||
package p {
|
||||
public fun foo(/*0*/ a: [ERROR : A]<kotlin.Int>): kotlin.Unit
|
||||
|
||||
+1
-1
@@ -69,7 +69,7 @@ package p {
|
||||
// -- Module: <m3> --
|
||||
package
|
||||
|
||||
internal fun test(): kotlin.Unit
|
||||
public fun test(): kotlin.Unit
|
||||
|
||||
package p {
|
||||
public fun a(/*0*/ a: p.A): kotlin.Unit
|
||||
|
||||
Vendored
+9
-9
@@ -24,20 +24,20 @@ package p {
|
||||
package
|
||||
|
||||
package p {
|
||||
internal fun test(): kotlin.Unit
|
||||
|
||||
internal final class A {
|
||||
public constructor A()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
internal final fun foo(): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
public fun test(): kotlin.Unit
|
||||
|
||||
public final class A {
|
||||
// -- Module: <m1> --
|
||||
}
|
||||
|
||||
public final class A {
|
||||
public constructor A()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public final fun foo(): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
public final class B {
|
||||
// -- Module: <m1> --
|
||||
}
|
||||
|
||||
+9
-9
@@ -24,20 +24,20 @@ package p {
|
||||
package
|
||||
|
||||
package p {
|
||||
internal fun test(): kotlin.Unit
|
||||
|
||||
internal final class A {
|
||||
public constructor A()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
internal final fun foo(): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
public fun test(): kotlin.Unit
|
||||
|
||||
public final class A {
|
||||
// -- Module: <m1> --
|
||||
}
|
||||
|
||||
public final class A {
|
||||
public constructor A()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public final fun foo(): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
public final class B {
|
||||
// -- Module: <m1> --
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@ package p {
|
||||
// -- Module: <m3> --
|
||||
package
|
||||
|
||||
internal fun test(/*0*/ a: p.A): kotlin.Unit
|
||||
public fun test(/*0*/ a: p.A): kotlin.Unit
|
||||
|
||||
package p {
|
||||
|
||||
|
||||
Vendored
+2
-2
@@ -23,9 +23,9 @@ package p {
|
||||
// -- Module: <m2> --
|
||||
package
|
||||
|
||||
internal fun test(): kotlin.Unit
|
||||
public fun test(): kotlin.Unit
|
||||
|
||||
internal final class A {
|
||||
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
|
||||
|
||||
+1
-1
@@ -38,7 +38,7 @@ package p {
|
||||
// -- Module: <m3> --
|
||||
package
|
||||
|
||||
internal fun test(): kotlin.Unit
|
||||
public fun test(): kotlin.Unit
|
||||
|
||||
package p {
|
||||
public fun foo(/*0*/ a: p.A<kotlin.Int>): kotlin.Unit
|
||||
|
||||
+1
-1
@@ -47,7 +47,7 @@ package p {
|
||||
// -- Module: <m4> --
|
||||
package
|
||||
|
||||
internal fun test(/*0*/ b: p.B<kotlin.String>?): kotlin.Unit
|
||||
public fun test(/*0*/ b: p.B<kotlin.String>?): kotlin.Unit
|
||||
|
||||
package p {
|
||||
|
||||
|
||||
+1
-1
@@ -53,7 +53,7 @@ package p {
|
||||
// -- Module: <m4> --
|
||||
package
|
||||
|
||||
internal fun test(/*0*/ b: p.B<p.Tr>?): kotlin.Unit
|
||||
public fun test(/*0*/ b: p.B<p.Tr>?): kotlin.Unit
|
||||
|
||||
package p {
|
||||
|
||||
|
||||
+1
-1
@@ -47,7 +47,7 @@ package p {
|
||||
// -- Module: <m4> --
|
||||
package
|
||||
|
||||
internal fun </*0*/ Y, /*1*/ Z> test(/*0*/ b: p.B<Y, Z>?): kotlin.Unit
|
||||
public fun </*0*/ Y, /*1*/ Z> test(/*0*/ b: p.B<Y, Z>?): kotlin.Unit
|
||||
|
||||
package p {
|
||||
|
||||
|
||||
+1
-1
@@ -47,7 +47,7 @@ package p {
|
||||
// -- Module: <m4> --
|
||||
package
|
||||
|
||||
internal fun </*0*/ Y> test(/*0*/ b: p.B<Y>?, /*1*/ y: Y): kotlin.Unit
|
||||
public fun </*0*/ Y> test(/*0*/ b: p.B<Y>?, /*1*/ y: Y): kotlin.Unit
|
||||
|
||||
package p {
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -47,7 +47,7 @@ package p {
|
||||
// -- Module: <m4> --
|
||||
package
|
||||
|
||||
internal fun test(/*0*/ b: p.B<kotlin.String>?): kotlin.Unit
|
||||
public fun test(/*0*/ b: p.B<kotlin.String>?): kotlin.Unit
|
||||
|
||||
package p {
|
||||
|
||||
|
||||
+1
-1
@@ -47,7 +47,7 @@ package p {
|
||||
// -- Module: <m4> --
|
||||
package
|
||||
|
||||
internal fun test(/*0*/ b: p.B?, /*1*/ c: p.C): kotlin.Unit
|
||||
public fun test(/*0*/ b: p.B?, /*1*/ c: p.C): kotlin.Unit
|
||||
|
||||
package p {
|
||||
|
||||
|
||||
+1
-1
@@ -47,7 +47,7 @@ package p {
|
||||
// -- Module: <m4> --
|
||||
package
|
||||
|
||||
internal fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
public fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
|
||||
package p {
|
||||
|
||||
|
||||
+1
-1
@@ -47,7 +47,7 @@ package p {
|
||||
// -- Module: <m4> --
|
||||
package
|
||||
|
||||
internal fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
public fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
|
||||
package p {
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -90,7 +90,7 @@ package p {
|
||||
// -- Module: <m4> --
|
||||
package
|
||||
|
||||
internal fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
public fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
|
||||
package p {
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -47,7 +47,7 @@ package p {
|
||||
// -- Module: <m4> --
|
||||
package
|
||||
|
||||
internal fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
public fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
|
||||
package p {
|
||||
|
||||
|
||||
+1
-1
@@ -47,7 +47,7 @@ package p {
|
||||
// -- Module: <m4> --
|
||||
package
|
||||
|
||||
internal fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
public fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
|
||||
package p {
|
||||
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@ package p {
|
||||
// -- Module: <m4> --
|
||||
package
|
||||
|
||||
internal fun p.B.test(): kotlin.Unit
|
||||
public fun p.B.test(): kotlin.Unit
|
||||
|
||||
package p {
|
||||
|
||||
|
||||
Vendored
+2
-2
@@ -47,8 +47,8 @@ package p {
|
||||
// -- Module: <m4> --
|
||||
package
|
||||
|
||||
internal fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
internal fun test1(/*0*/ b: p.B?): kotlin.Unit
|
||||
public fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
public fun test1(/*0*/ b: p.B?): kotlin.Unit
|
||||
|
||||
package p {
|
||||
|
||||
|
||||
+1
-1
@@ -53,7 +53,7 @@ package p {
|
||||
// -- Module: <m4> --
|
||||
package
|
||||
|
||||
internal fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
public fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
|
||||
package p {
|
||||
|
||||
|
||||
Vendored
+4
-4
@@ -47,10 +47,10 @@ package p {
|
||||
// -- Module: <m4> --
|
||||
package
|
||||
|
||||
internal fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
internal fun test1(/*0*/ b: p.B?): kotlin.Unit
|
||||
internal fun test2(/*0*/ b: p.B?): kotlin.Unit
|
||||
internal fun test3(/*0*/ b: p.B?): kotlin.Unit
|
||||
public fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
public fun test1(/*0*/ b: p.B?): kotlin.Unit
|
||||
public fun test2(/*0*/ b: p.B?): kotlin.Unit
|
||||
public fun test3(/*0*/ b: p.B?): kotlin.Unit
|
||||
|
||||
package p {
|
||||
|
||||
|
||||
Vendored
+2
-2
@@ -47,8 +47,8 @@ package p {
|
||||
// -- Module: <m4> --
|
||||
package
|
||||
|
||||
internal fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
internal fun test1(/*0*/ b: p.B?): kotlin.Unit
|
||||
public fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
public fun test1(/*0*/ b: p.B?): kotlin.Unit
|
||||
|
||||
package p {
|
||||
|
||||
|
||||
+2
-2
@@ -63,8 +63,8 @@ package p {
|
||||
// -- Module: <m4> --
|
||||
package
|
||||
|
||||
internal fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
internal fun test1(/*0*/ b: p.B?): kotlin.Unit
|
||||
public fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
public fun test1(/*0*/ b: p.B?): kotlin.Unit
|
||||
|
||||
package p {
|
||||
|
||||
|
||||
Vendored
+2
-2
@@ -47,8 +47,8 @@ package p {
|
||||
// -- Module: <m4> --
|
||||
package
|
||||
|
||||
internal fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
internal fun test1(/*0*/ b: p.B?): kotlin.Unit
|
||||
public fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
public fun test1(/*0*/ b: p.B?): kotlin.Unit
|
||||
|
||||
package p {
|
||||
|
||||
|
||||
+1
-1
@@ -47,7 +47,7 @@ package p {
|
||||
// -- Module: <m4> --
|
||||
package
|
||||
|
||||
internal fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
public fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
|
||||
package p {
|
||||
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@ package p {
|
||||
// -- Module: <m4> --
|
||||
package
|
||||
|
||||
internal fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
public fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
|
||||
package p {
|
||||
|
||||
|
||||
+1
-1
@@ -90,7 +90,7 @@ package p {
|
||||
// -- Module: <m4> --
|
||||
package
|
||||
|
||||
internal fun test(/*0*/ b: p.B?, /*1*/ a: p.G1<kotlin.Int>, /*2*/ b1: p.G2<p.B, kotlin.String>): kotlin.Unit
|
||||
public fun test(/*0*/ b: p.B?, /*1*/ a: p.G1<kotlin.Int>, /*2*/ b1: p.G2<p.B, kotlin.String>): kotlin.Unit
|
||||
|
||||
package p {
|
||||
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@ package p {
|
||||
// -- Module: <m4> --
|
||||
package
|
||||
|
||||
internal fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
public fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
|
||||
package p {
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -47,7 +47,7 @@ package p {
|
||||
// -- Module: <m4> --
|
||||
package
|
||||
|
||||
internal fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
public fun test(/*0*/ b: p.B?): kotlin.Unit
|
||||
|
||||
package p {
|
||||
|
||||
|
||||
+1
-1
@@ -50,7 +50,7 @@ package p {
|
||||
// -- Module: <m3> --
|
||||
package
|
||||
|
||||
internal final class Foo : p.C, p.B {
|
||||
public final class Foo : p.C, p.B {
|
||||
public constructor Foo()
|
||||
public open override /*2*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*2*/ /*fake_override*/ fun foo(): kotlin.Unit
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@ package p {
|
||||
// -- Module: <m3> --
|
||||
package
|
||||
|
||||
internal final class Foo : p.A, p.B {
|
||||
public final class Foo : p.A, p.B {
|
||||
public constructor Foo()
|
||||
public open override /*2*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*2*/ /*fake_override*/ fun foo(): kotlin.Unit
|
||||
|
||||
Vendored
+1
-1
@@ -43,7 +43,7 @@ package p {
|
||||
// -- Module: <m3> --
|
||||
package
|
||||
|
||||
internal final class Foo : p.A, p.B {
|
||||
public final class Foo : p.A, p.B {
|
||||
public constructor Foo()
|
||||
public open override /*2*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ fun </*0*/ T> foo(/*0*/ t: kotlin.Array<T>): kotlin.Unit
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@ package p {
|
||||
// -- Module: <m3> --
|
||||
package
|
||||
|
||||
internal final class Foo : p.A<kotlin.String>, p.B {
|
||||
public final class Foo : p.A<kotlin.String>, p.B {
|
||||
public constructor Foo()
|
||||
public open override /*2*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*2*/ /*fake_override*/ fun foo(/*0*/ t: kotlin.String): kotlin.Unit
|
||||
|
||||
+13
-13
@@ -2,20 +2,20 @@
|
||||
package
|
||||
|
||||
package p {
|
||||
internal val a: p.A
|
||||
internal var v: p.A
|
||||
internal fun a(): p.A
|
||||
public val a: p.A
|
||||
public var v: p.A
|
||||
public fun a(): p.A
|
||||
|
||||
public final class A {
|
||||
public constructor A()
|
||||
internal final val a: p.A
|
||||
internal final var v: p.A
|
||||
internal final fun a(): p.A
|
||||
public final val a: p.A
|
||||
public final var v: p.A
|
||||
public final fun a(): p.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 inner class B {
|
||||
public final inner 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
|
||||
@@ -23,7 +23,7 @@ package p {
|
||||
}
|
||||
}
|
||||
|
||||
internal final class B {
|
||||
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
|
||||
@@ -35,18 +35,18 @@ package p {
|
||||
// -- Module: <m2> --
|
||||
package
|
||||
|
||||
internal fun test(): kotlin.Unit
|
||||
public fun test(): kotlin.Unit
|
||||
|
||||
package p {
|
||||
internal val a: p.A
|
||||
internal var v: p.A
|
||||
internal fun a(): p.A
|
||||
public val a: p.A
|
||||
public var v: p.A
|
||||
public fun a(): p.A
|
||||
|
||||
public final class A {
|
||||
// -- Module: <m1> --
|
||||
}
|
||||
|
||||
internal final class B {
|
||||
public final class B {
|
||||
// -- Module: <m1> --
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ package
|
||||
|
||||
package p {
|
||||
private val a: kotlin.Int = 1
|
||||
internal val b: kotlin.Int = 1
|
||||
public val b: kotlin.Int = 1
|
||||
}
|
||||
|
||||
|
||||
@@ -12,6 +12,6 @@ package
|
||||
|
||||
package p {
|
||||
private val a: kotlin.Int = 1
|
||||
internal val b: kotlin.Int = 1
|
||||
internal val c: kotlin.Int = 1
|
||||
public val b: kotlin.Int = 1
|
||||
public val c: kotlin.Int = 1
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ package p {
|
||||
package
|
||||
|
||||
package m {
|
||||
internal fun main(): kotlin.Unit
|
||||
public fun main(): kotlin.Unit
|
||||
}
|
||||
|
||||
package p {
|
||||
@@ -29,5 +29,3 @@ package p {
|
||||
public fun foo(/*0*/ vararg values: kotlin.Int /*kotlin.IntArray*/): kotlin.Unit
|
||||
public fun foo(/*0*/ vararg values: kotlin.Int /*kotlin.IntArray*/): kotlin.Unit
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user