Replace "jet" package name with "kotlin" in testData
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
package test
|
||||
|
||||
internal final annotation class A : jet.Annotation {
|
||||
/*primary*/ public constructor A(/*0*/ a: jet.Int = ..., /*1*/ b: jet.String = ..., /*2*/ c: jet.String)
|
||||
internal final val a: jet.Int
|
||||
internal final val b: jet.String
|
||||
internal final val c: jet.String
|
||||
internal final annotation class A : kotlin.Annotation {
|
||||
/*primary*/ public constructor A(/*0*/ a: kotlin.Int = ..., /*1*/ b: kotlin.String = ..., /*2*/ c: kotlin.String)
|
||||
internal final val a: kotlin.Int
|
||||
internal final val b: kotlin.String
|
||||
internal final val c: kotlin.String
|
||||
}
|
||||
|
||||
test.A(a = IntegerValueType(12): IntegerValueType(12), c = "Hello": jet.String) internal object SomeObject {
|
||||
test.A(a = IntegerValueType(12): IntegerValueType(12), c = "Hello": kotlin.String) internal object SomeObject {
|
||||
/*primary*/ private constructor SomeObject()
|
||||
|
||||
public class object <class-object-for-SomeObject> : test.SomeObject {
|
||||
|
||||
@@ -3,4 +3,4 @@ package test
|
||||
trait TheTrait {
|
||||
class object {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ internal final class B {
|
||||
|
||||
internal final class B {
|
||||
/*primary*/ public constructor B()
|
||||
internal final fun foo(/*0*/ b: test.B.B.C): jet.Unit
|
||||
internal final fun foo(/*0*/ b: test.B.B.C): kotlin.Unit
|
||||
|
||||
internal final class C {
|
||||
/*primary*/ public constructor C()
|
||||
|
||||
@@ -6,4 +6,4 @@ open class A {
|
||||
|
||||
class B : A() {
|
||||
override fun foo(a: E) {}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,10 +2,10 @@ package test
|
||||
|
||||
internal open class A {
|
||||
/*primary*/ public constructor A()
|
||||
internal open fun foo(/*0*/ a: [ERROR : E]): jet.Unit
|
||||
internal open fun foo(/*0*/ a: [ERROR : E]): kotlin.Unit
|
||||
}
|
||||
|
||||
internal final class B : test.A {
|
||||
/*primary*/ public constructor B()
|
||||
internal open override /*1*/ fun foo(/*0*/ a: [ERROR : E]): jet.Unit
|
||||
internal open override /*1*/ fun foo(/*0*/ a: [ERROR : E]): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -2,8 +2,8 @@ package test
|
||||
|
||||
internal val some: test.SomeObject
|
||||
|
||||
internal final annotation class BadAnnotation : jet.Annotation {
|
||||
/*primary*/ public constructor BadAnnotation(/*0*/ s: jet.String)
|
||||
internal final annotation class BadAnnotation : kotlin.Annotation {
|
||||
/*primary*/ public constructor BadAnnotation(/*0*/ s: kotlin.String)
|
||||
}
|
||||
|
||||
test.BadAnnotation(s = IntegerValueType(1): IntegerValueType(1)) internal object SomeObject {
|
||||
|
||||
@@ -4,4 +4,4 @@ class Some {
|
||||
TestAnnotation class object {
|
||||
annotation class TestAnnotation
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ internal final class Some {
|
||||
test.Some.TestAnnotation() internal class object <class-object-for-Some> {
|
||||
/*primary*/ private constructor <class-object-for-Some>()
|
||||
|
||||
internal final annotation class TestAnnotation : jet.Annotation {
|
||||
internal final annotation class TestAnnotation : kotlin.Annotation {
|
||||
/*primary*/ public constructor TestAnnotation()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,4 +6,4 @@ fun testFun(a : Int) = 12
|
||||
class TestSome<P> {
|
||||
class object : ToResolve<P>({testFun(it)}) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
internal fun testFun(/*0*/ a: jet.Int): jet.Int
|
||||
internal fun testFun(/*0*/ a: kotlin.Int): kotlin.Int
|
||||
|
||||
internal final class TestSome</*0*/ P> {
|
||||
/*primary*/ public constructor TestSome</*0*/ P>()
|
||||
@@ -11,5 +11,5 @@ internal final class TestSome</*0*/ P> {
|
||||
}
|
||||
|
||||
internal open class ToResolve</*0*/ SomeClass> {
|
||||
/*primary*/ public constructor ToResolve</*0*/ SomeClass>(/*0*/ f: (jet.Int) -> jet.Int)
|
||||
/*primary*/ public constructor ToResolve</*0*/ SomeClass>(/*0*/ f: (kotlin.Int) -> kotlin.Int)
|
||||
}
|
||||
|
||||
@@ -1,37 +1,37 @@
|
||||
package test
|
||||
|
||||
internal final enum class Test : jet.Enum<test.Test> {
|
||||
/*primary*/ private constructor Test(/*0*/ a: jet.Int)
|
||||
public final override /*1*/ /*fake_override*/ fun name(): jet.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): jet.Int
|
||||
internal final enum class Test : kotlin.Enum<test.Test> {
|
||||
/*primary*/ private constructor Test(/*0*/ a: kotlin.Int)
|
||||
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
|
||||
|
||||
public class object <class-object-for-Test> {
|
||||
/*primary*/ private constructor <class-object-for-Test>()
|
||||
public final /*synthesized*/ fun valueOf(/*0*/ value: jet.String): test.Test
|
||||
public final /*synthesized*/ fun values(): jet.Array<test.Test>
|
||||
public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): test.Test
|
||||
public final /*synthesized*/ fun values(): kotlin.Array<test.Test>
|
||||
}
|
||||
|
||||
public enum entry A : test.Test {
|
||||
/*primary*/ private constructor A()
|
||||
public final override /*1*/ /*fake_override*/ fun name(): jet.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): jet.Int
|
||||
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
|
||||
|
||||
public class object <class-object-for-A> : test.Test.A {
|
||||
/*primary*/ private constructor <class-object-for-A>()
|
||||
public final override /*1*/ /*fake_override*/ fun name(): jet.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): jet.Int
|
||||
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
|
||||
}
|
||||
}
|
||||
|
||||
public enum entry B : test.Test {
|
||||
/*primary*/ private constructor B()
|
||||
public final override /*1*/ /*fake_override*/ fun name(): jet.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): jet.Int
|
||||
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
|
||||
|
||||
public class object <class-object-for-B> : test.Test.B {
|
||||
/*primary*/ private constructor <class-object-for-B>()
|
||||
public final override /*1*/ /*fake_override*/ fun name(): jet.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): jet.Int
|
||||
public final override /*1*/ /*fake_override*/ fun name(): kotlin.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): kotlin.Int
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,4 +12,4 @@ package testOther
|
||||
import test.normal
|
||||
|
||||
val some: Int = 1
|
||||
val fromImported: Int = normal
|
||||
val fromImported: Int = normal
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
internal val fromImported: jet.Int
|
||||
internal val normal: jet.Int
|
||||
internal val fromImported: kotlin.Int
|
||||
internal val normal: kotlin.Int
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
package test
|
||||
|
||||
fun <T> foo(t : T) : T {}
|
||||
fun <T> foo(t : T) : T {}
|
||||
|
||||
+1
-1
@@ -10,4 +10,4 @@ val inferTypeFromImportedFun = testFun()
|
||||
package testOther
|
||||
|
||||
open class A
|
||||
fun testFun() = 1
|
||||
fun testFun() = 1
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
internal val inferTypeFromImportedFun: jet.Int
|
||||
internal val inferTypeFromImportedFun: kotlin.Int
|
||||
|
||||
internal final class B : testOther.A {
|
||||
/*primary*/ public constructor B()
|
||||
|
||||
@@ -5,11 +5,11 @@ internal final class A {
|
||||
|
||||
internal object B {
|
||||
/*primary*/ private constructor B()
|
||||
internal final fun foo(/*0*/ a: jet.Int): jet.String
|
||||
internal final fun foo(/*0*/ a: kotlin.Int): kotlin.String
|
||||
|
||||
public class object <class-object-for-B> : test.A.B {
|
||||
/*primary*/ private constructor <class-object-for-B>()
|
||||
internal final override /*1*/ /*fake_override*/ fun foo(/*0*/ a: jet.Int): jet.String
|
||||
internal final override /*1*/ /*fake_override*/ fun foo(/*0*/ a: kotlin.Int): kotlin.String
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,4 +4,4 @@ object SomeObject {
|
||||
fun test(a: Int) : Int {
|
||||
return 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,10 +2,10 @@ package test
|
||||
|
||||
internal object SomeObject {
|
||||
/*primary*/ private constructor SomeObject()
|
||||
internal final fun test(/*0*/ a: jet.Int): jet.Int
|
||||
internal final fun test(/*0*/ a: kotlin.Int): kotlin.Int
|
||||
|
||||
public class object <class-object-for-SomeObject> : test.SomeObject {
|
||||
/*primary*/ private constructor <class-object-for-SomeObject>()
|
||||
internal final override /*1*/ /*fake_override*/ fun test(/*0*/ a: jet.Int): jet.Int
|
||||
internal final override /*1*/ /*fake_override*/ fun test(/*0*/ a: kotlin.Int): kotlin.Int
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
object Bar {
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -6,4 +6,4 @@ class Test {
|
||||
class object {
|
||||
val a = test() // Check if resolver will be able to infer type of a variable
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -2,10 +2,10 @@ package test
|
||||
|
||||
internal final class Test {
|
||||
/*primary*/ public constructor Test()
|
||||
internal final fun test(): jet.Int
|
||||
internal final fun test(): kotlin.Int
|
||||
|
||||
internal class object <class-object-for-Test> {
|
||||
/*primary*/ private constructor <class-object-for-Test>()
|
||||
internal final val a: jet.Int
|
||||
internal final val a: kotlin.Int
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,4 +7,4 @@ class SubBase: Base()
|
||||
// FILE: SameClassNameResolveRoot.kt
|
||||
|
||||
open class Base
|
||||
class SubBase: Base()
|
||||
class SubBase: Base()
|
||||
|
||||
@@ -5,23 +5,23 @@ internal final class A {
|
||||
}
|
||||
|
||||
package test.p {
|
||||
internal fun foo(): jet.Unit
|
||||
internal fun foo(/*0*/ a: test.p.C): jet.Unit
|
||||
internal fun foo(): kotlin.Unit
|
||||
internal fun foo(/*0*/ a: test.p.C): kotlin.Unit
|
||||
|
||||
internal final class C {
|
||||
/*primary*/ public constructor C()
|
||||
internal final fun f(): jet.Unit
|
||||
internal final fun f(): kotlin.Unit
|
||||
}
|
||||
|
||||
internal open class G</*0*/ T> {
|
||||
/*primary*/ public constructor G</*0*/ T>()
|
||||
internal final fun a(): jet.Unit
|
||||
internal final fun a(): kotlin.Unit
|
||||
internal open fun f(): T
|
||||
}
|
||||
|
||||
internal final class G2</*0*/ E> : test.p.G<E> {
|
||||
/*primary*/ public constructor G2</*0*/ E>()
|
||||
internal final override /*1*/ /*fake_override*/ fun a(): jet.Unit
|
||||
internal final override /*1*/ /*fake_override*/ fun a(): kotlin.Unit
|
||||
internal open override /*1*/ fun f(): E
|
||||
internal final fun g(): E
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
internal final class CompositeIterator</*0*/ T> {
|
||||
/*primary*/ public constructor CompositeIterator</*0*/ T>(/*0*/ vararg iterators: java.util.Iterator<T> /*jet.Array<java.util.Iterator<T>>*/)
|
||||
internal final val iteratorsIter: jet.Iterator<java.util.Iterator<T>>
|
||||
/*primary*/ public constructor CompositeIterator</*0*/ T>(/*0*/ vararg iterators: java.util.Iterator<T> /*kotlin.Array<java.util.Iterator<T>>*/)
|
||||
internal final val iteratorsIter: kotlin.Iterator<java.util.Iterator<T>>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user