Fix testData in compiler: add collections and ranges package to fq-names.
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
package
|
||||
|
||||
package f {
|
||||
public fun </*0*/ T> g(/*0*/ a: kotlin.Any, /*1*/ i: kotlin.Int): kotlin.Collection<T>
|
||||
public fun </*0*/ T> g(/*0*/ i: kotlin.Int, /*1*/ a: kotlin.Any): kotlin.List<T>
|
||||
public fun </*0*/ T> g(/*0*/ a: kotlin.Any, /*1*/ i: kotlin.Int): kotlin.collections.Collection<T>
|
||||
public fun </*0*/ T> g(/*0*/ i: kotlin.Int, /*1*/ a: kotlin.Any): kotlin.collections.List<T>
|
||||
public fun </*0*/ T> test(): kotlin.Unit
|
||||
}
|
||||
|
||||
+4
-4
@@ -1,8 +1,8 @@
|
||||
package
|
||||
|
||||
package f {
|
||||
public fun </*0*/ T> emptyList(): kotlin.List<T>
|
||||
public fun </*0*/ T> f(/*0*/ a: kotlin.Any, /*1*/ l: kotlin.List<T>): kotlin.Collection<T>
|
||||
public fun </*0*/ T> f(/*0*/ i: kotlin.Int, /*1*/ c: kotlin.Collection<T>): kotlin.List<T>
|
||||
public fun </*0*/ T> test(/*0*/ l: kotlin.List<T>): kotlin.Unit
|
||||
public fun </*0*/ T> emptyList(): kotlin.collections.List<T>
|
||||
public fun </*0*/ T> f(/*0*/ a: kotlin.Any, /*1*/ l: kotlin.collections.List<T>): kotlin.collections.Collection<T>
|
||||
public fun </*0*/ T> f(/*0*/ i: kotlin.Int, /*1*/ c: kotlin.collections.Collection<T>): kotlin.collections.List<T>
|
||||
public fun </*0*/ T> test(/*0*/ l: kotlin.collections.List<T>): kotlin.Unit
|
||||
}
|
||||
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
package
|
||||
|
||||
package f {
|
||||
public fun </*0*/ T> f(/*0*/ a: kotlin.Any, /*1*/ t: T, /*2*/ l: kotlin.MutableList<T>): kotlin.Unit
|
||||
public fun </*0*/ T> f(/*0*/ i: kotlin.Int, /*1*/ t: T, /*2*/ c: kotlin.MutableCollection<T>): kotlin.Unit
|
||||
public fun test(/*0*/ l: kotlin.List<kotlin.Int>): kotlin.Unit
|
||||
public fun </*0*/ T> f(/*0*/ a: kotlin.Any, /*1*/ t: T, /*2*/ l: kotlin.collections.MutableList<T>): kotlin.Unit
|
||||
public fun </*0*/ T> f(/*0*/ i: kotlin.Int, /*1*/ t: T, /*2*/ c: kotlin.collections.MutableCollection<T>): kotlin.Unit
|
||||
public fun test(/*0*/ l: kotlin.collections.List<kotlin.Int>): kotlin.Unit
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -2,4 +2,4 @@ package
|
||||
|
||||
public fun test1(/*0*/ a: kotlin.Array<out kotlin.Int?>): kotlin.Unit
|
||||
public fun test2(/*0*/ vararg a: kotlin.Int? /*kotlin.Array<out kotlin.Int?>*/): kotlin.Unit
|
||||
public fun </*0*/ T : kotlin.Any> kotlin.Array<T?>.filterNotNull(): kotlin.List<T>
|
||||
public fun </*0*/ T : kotlin.Any> kotlin.Array<T?>.filterNotNull(): kotlin.collections.List<T>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package
|
||||
|
||||
public fun </*0*/ T> foo(/*0*/ l: kotlin.MutableList<T>): kotlin.MutableList<T>
|
||||
public fun test(/*0*/ l: kotlin.MutableList<out kotlin.Int>): kotlin.Unit
|
||||
public fun </*0*/ T> foo(/*0*/ l: kotlin.collections.MutableList<T>): kotlin.collections.MutableList<T>
|
||||
public fun test(/*0*/ l: kotlin.collections.MutableList<out kotlin.Int>): kotlin.Unit
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package
|
||||
|
||||
public fun </*0*/ E> sort(/*0*/ list: kotlin.List<E>, /*1*/ c: java.util.Comparator<in E>): kotlin.Unit
|
||||
public fun </*0*/ E> sort(/*0*/ list: kotlin.collections.List<E>, /*1*/ c: java.util.Comparator<in E>): kotlin.Unit
|
||||
public fun test(/*0*/ list: java.util.ArrayList<kotlin.Int>, /*1*/ comparatorFun: (kotlin.Int, kotlin.Int) -> kotlin.Int): kotlin.Unit
|
||||
|
||||
+2
-2
@@ -1,9 +1,9 @@
|
||||
package
|
||||
|
||||
public fun </*0*/ T> bar(/*0*/ t: T, /*1*/ ext: GenericClass<T>.() -> kotlin.Unit): kotlin.Unit
|
||||
public fun </*0*/ K, /*1*/ V> mapOf(/*0*/ keyValuePair: Pair<K, V>): kotlin.Map<K, V>
|
||||
public fun </*0*/ K, /*1*/ V> mapOf(/*0*/ keyValuePair: Pair<K, V>): kotlin.collections.Map<K, V>
|
||||
public fun test(): kotlin.Unit
|
||||
public fun </*0*/ K, /*1*/ V> GenericClass<kotlin.Map<K, V>>.foo(): kotlin.Unit
|
||||
public fun </*0*/ K, /*1*/ V> GenericClass<kotlin.collections.Map<K, V>>.foo(): kotlin.Unit
|
||||
public infix fun </*0*/ A, /*1*/ B> A.to(/*0*/ that: B): Pair<A, B>
|
||||
|
||||
public final class GenericClass</*0*/ out T> {
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
package
|
||||
|
||||
public fun </*0*/ E> GenericClass<kotlin.List<E>>.bar(): kotlin.Unit
|
||||
public fun </*0*/ E> GenericClass<kotlin.collections.List<E>>.bar(): kotlin.Unit
|
||||
|
||||
public final class GenericClass</*0*/ out T> {
|
||||
public constructor GenericClass</*0*/ out T>(/*0*/ value: T)
|
||||
|
||||
Vendored
+4
-4
@@ -1,11 +1,11 @@
|
||||
package
|
||||
|
||||
public fun </*0*/ F : Foo> test(/*0*/ map: kotlin.MutableMap<kotlin.String, Bar<F>>): kotlin.Unit
|
||||
public fun </*0*/ K, /*1*/ V> kotlin.MutableMap<K, V>.getOrPut1(/*0*/ key: K, /*1*/ defaultValue: () -> V): V
|
||||
public fun </*0*/ F : Foo> test(/*0*/ map: kotlin.collections.MutableMap<kotlin.String, Bar<F>>): kotlin.Unit
|
||||
public fun </*0*/ K, /*1*/ V> kotlin.collections.MutableMap<K, V>.getOrPut1(/*0*/ key: K, /*1*/ defaultValue: () -> V): V
|
||||
|
||||
public final class Bar</*0*/ B : Foo> {
|
||||
public constructor Bar</*0*/ B : Foo>(/*0*/ list: kotlin.MutableList<B>)
|
||||
public final val list: kotlin.MutableList<B>
|
||||
public constructor Bar</*0*/ B : Foo>(/*0*/ list: kotlin.collections.MutableList<B>)
|
||||
public final val list: kotlin.collections.MutableList<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
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package
|
||||
|
||||
public fun test(/*0*/ list: kotlin.List<kotlin.Int>): kotlin.Unit
|
||||
public fun </*0*/ T, /*1*/ C : kotlin.MutableCollection<T>> kotlin.Iterable<T>.toCollection(/*0*/ result: C): C
|
||||
public fun test(/*0*/ list: kotlin.collections.List<kotlin.Int>): kotlin.Unit
|
||||
public fun </*0*/ T, /*1*/ C : kotlin.collections.MutableCollection<T>> kotlin.collections.Iterable<T>.toCollection(/*0*/ result: C): C
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package
|
||||
|
||||
public fun test(/*0*/ list: kotlin.List<kotlin.List<kotlin.Int>>): kotlin.Unit
|
||||
public fun </*0*/ T, /*1*/ R> kotlin.Collection<T>.map(/*0*/ transform: (T) -> R): kotlin.List<R>
|
||||
public fun test(/*0*/ list: kotlin.collections.List<kotlin.collections.List<kotlin.Int>>): kotlin.Unit
|
||||
public fun </*0*/ T, /*1*/ R> kotlin.collections.Collection<T>.map(/*0*/ transform: (T) -> R): kotlin.collections.List<R>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package
|
||||
|
||||
package conflictingSubstitutions {
|
||||
public fun </*0*/ R> elemAndList(/*0*/ r: R, /*1*/ t: kotlin.MutableList<R>): R
|
||||
public fun </*0*/ R> elemAndList(/*0*/ r: R, /*1*/ t: kotlin.collections.MutableList<R>): R
|
||||
public fun </*0*/ T> list(/*0*/ value: T): java.util.ArrayList<T>
|
||||
public fun test(): kotlin.Unit
|
||||
public fun </*0*/ R> R.elemAndListWithReceiver(/*0*/ r: R, /*1*/ t: kotlin.MutableList<R>): R
|
||||
public fun </*0*/ R> R.elemAndListWithReceiver(/*0*/ r: R, /*1*/ t: kotlin.collections.MutableList<R>): R
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
package
|
||||
|
||||
package c {
|
||||
public fun </*0*/ T, /*1*/ R, /*2*/ C : kotlin.MutableCollection<in R>> kotlin.Array<out T>.mapTo(/*0*/ result: C, /*1*/ transform: (T) -> R): C
|
||||
public fun </*0*/ T, /*1*/ R, /*2*/ C : kotlin.collections.MutableCollection<in R>> kotlin.Array<out T>.mapTo(/*0*/ result: C, /*1*/ transform: (T) -> R): C
|
||||
public fun kotlin.Array<kotlin.Int>.toArrayList(): java.util.ArrayList<kotlin.Int>
|
||||
public fun kotlin.Array<kotlin.Int>.toIntArray(): kotlin.IntArray
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package
|
||||
|
||||
public fun test(/*0*/ ints: kotlin.List<kotlin.Int>): kotlin.Unit
|
||||
public inline fun </*0*/ S, /*1*/ T : S> kotlin.Iterable<T>.reduce1(/*0*/ operation: (S, T) -> S): S
|
||||
public fun test(/*0*/ ints: kotlin.collections.List<kotlin.Int>): kotlin.Unit
|
||||
public inline fun </*0*/ S, /*1*/ T : S> kotlin.collections.Iterable<T>.reduce1(/*0*/ operation: (S, T) -> S): S
|
||||
|
||||
@@ -2,8 +2,8 @@ package
|
||||
|
||||
package h {
|
||||
public fun </*0*/ T> both(/*0*/ t1: T, /*1*/ t2: T): T
|
||||
public fun </*0*/ R> elem(/*0*/ t: kotlin.List<R>): R
|
||||
public fun </*0*/ R> elemAndList(/*0*/ r: R, /*1*/ t: kotlin.List<R>): R
|
||||
public fun </*0*/ R> elem(/*0*/ t: kotlin.collections.List<R>): R
|
||||
public fun </*0*/ R> elemAndList(/*0*/ r: R, /*1*/ t: kotlin.collections.List<R>): R
|
||||
public fun </*0*/ T> id(/*0*/ t: T): T
|
||||
public fun </*0*/ T> id1(/*0*/ t: T): T
|
||||
public fun </*0*/ T> list(/*0*/ value: T): java.util.ArrayList<T>
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package
|
||||
|
||||
package b {
|
||||
public fun </*0*/ T> comparator(/*0*/ fn: (T, T) -> kotlin.Int): java.util.Comparator<T>
|
||||
public fun foo(/*0*/ list: kotlin.List<kotlin.String>): kotlin.String
|
||||
public fun foo(/*0*/ list: kotlin.collections.List<kotlin.String>): kotlin.String
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package
|
||||
|
||||
package a {
|
||||
public fun </*0*/ T> emptyList(): kotlin.List<T>
|
||||
public fun </*0*/ T> foo(/*0*/ f: T.() -> kotlin.Unit, /*1*/ l: kotlin.List<T>): T
|
||||
public fun </*0*/ T> emptyList(): kotlin.collections.List<T>
|
||||
public fun </*0*/ T> foo(/*0*/ f: T.() -> kotlin.Unit, /*1*/ l: kotlin.collections.List<T>): T
|
||||
public fun test(): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -2,6 +2,6 @@ package
|
||||
|
||||
package n {
|
||||
public fun </*0*/ T> expected(/*0*/ t: T, /*1*/ f: () -> T): T
|
||||
public fun test(/*0*/ arrayList: java.util.ArrayList<kotlin.Int>, /*1*/ list: kotlin.List<kotlin.Int>): kotlin.Unit
|
||||
public fun </*0*/ T> kotlin.List<T>.reverse(): kotlin.List<T>
|
||||
public fun test(/*0*/ arrayList: java.util.ArrayList<kotlin.Int>, /*1*/ list: kotlin.collections.List<kotlin.Int>): kotlin.Unit
|
||||
public fun </*0*/ T> kotlin.collections.List<T>.reverse(): kotlin.collections.List<T>
|
||||
}
|
||||
|
||||
+2
-2
@@ -2,6 +2,6 @@ package
|
||||
|
||||
package n {
|
||||
public fun </*0*/ T> expected(/*0*/ t: T, /*1*/ f: () -> T): T
|
||||
public fun test(/*0*/ arrayList: java.util.ArrayList<kotlin.Int>, /*1*/ list: kotlin.List<kotlin.Int>): kotlin.Unit
|
||||
public fun </*0*/ T> kotlin.List<T>.reverse(): kotlin.List<T>
|
||||
public fun test(/*0*/ arrayList: java.util.ArrayList<kotlin.Int>, /*1*/ list: kotlin.collections.List<kotlin.Int>): kotlin.Unit
|
||||
public fun </*0*/ T> kotlin.collections.List<T>.reverse(): kotlin.collections.List<T>
|
||||
}
|
||||
|
||||
@@ -5,5 +5,5 @@ package a {
|
||||
public fun println(/*0*/ message: kotlin.Any?): kotlin.Unit
|
||||
private fun </*0*/ T> test(/*0*/ value: T, /*1*/ extf: kotlin.String.(T) -> kotlin.Unit): kotlin.Unit
|
||||
public fun tests(): kotlin.Unit
|
||||
public operator fun </*0*/ K, /*1*/ V> kotlin.MutableMap<K, V>.set(/*0*/ key: K, /*1*/ value: V): V?
|
||||
public operator fun </*0*/ K, /*1*/ V> kotlin.collections.MutableMap<K, V>.set(/*0*/ key: K, /*1*/ value: V): V?
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package
|
||||
|
||||
public fun </*0*/ T, /*1*/ R> bar(/*0*/ body: (R) -> T): T
|
||||
public fun </*0*/ T, /*1*/ R> baz(/*0*/ body: (kotlin.List<R>) -> T): T
|
||||
public fun </*0*/ T, /*1*/ R : kotlin.Any> brr(/*0*/ body: (kotlin.List<R?>) -> T): T
|
||||
public fun </*0*/ T, /*1*/ R> baz(/*0*/ body: (kotlin.collections.List<R>) -> T): T
|
||||
public fun </*0*/ T, /*1*/ R : kotlin.Any> brr(/*0*/ body: (kotlin.collections.List<R?>) -> T): T
|
||||
public fun fail(): kotlin.Nothing
|
||||
public fun </*0*/ T, /*1*/ R : kotlin.Any> foo(/*0*/ body: (R?) -> T): T
|
||||
public fun test1(): kotlin.Unit
|
||||
|
||||
@@ -2,8 +2,8 @@ package
|
||||
|
||||
package a {
|
||||
public fun </*0*/ T> arrayList(/*0*/ vararg values: T /*kotlin.Array<out T>*/): java.util.ArrayList<T>
|
||||
public fun </*0*/ A> cons(/*0*/ x: A, /*1*/ xs: kotlin.List<A>): kotlin.List<A>
|
||||
public fun </*0*/ B> nil(): kotlin.List<B>
|
||||
public fun </*0*/ A> cons(/*0*/ x: A, /*1*/ xs: kotlin.collections.List<A>): kotlin.collections.List<A>
|
||||
public fun </*0*/ B> nil(): kotlin.collections.List<B>
|
||||
public fun test(): kotlin.Unit
|
||||
public fun </*0*/ T, /*1*/ C : kotlin.MutableCollection<in T>> kotlin.Array<T>.toCollection(/*0*/ result: C): C
|
||||
public fun </*0*/ T, /*1*/ C : kotlin.collections.MutableCollection<in T>> kotlin.Array<T>.toCollection(/*0*/ result: C): C
|
||||
}
|
||||
|
||||
@@ -3,6 +3,6 @@ package
|
||||
package a {
|
||||
@kotlin.Suppress(names = {"UNCHECKED_CAST"}) public fun </*0*/ T> array(/*0*/ vararg t: T /*kotlin.Array<out T>*/): kotlin.Array<T>
|
||||
public fun foo(): kotlin.Unit
|
||||
public infix fun </*0*/ T, /*1*/ R> kotlin.Array<T>.map(/*0*/ transform: (T) -> R): kotlin.List<R>
|
||||
public infix fun </*0*/ T, /*1*/ R> kotlin.Iterable<T>.map(/*0*/ transform: (T) -> R): kotlin.List<R>
|
||||
public infix fun </*0*/ T, /*1*/ R> kotlin.Array<T>.map(/*0*/ transform: (T) -> R): kotlin.collections.List<R>
|
||||
public infix fun </*0*/ T, /*1*/ R> kotlin.collections.Iterable<T>.map(/*0*/ transform: (T) -> R): kotlin.collections.List<R>
|
||||
}
|
||||
|
||||
+5
-5
@@ -1,10 +1,10 @@
|
||||
package
|
||||
|
||||
package i {
|
||||
public fun test(/*0*/ list: kotlin.List<kotlin.Int>): kotlin.Unit
|
||||
public fun test1(/*0*/ list: kotlin.List<kotlin.Int>): kotlin.Unit
|
||||
public fun test(/*0*/ list: kotlin.collections.List<kotlin.Int>): kotlin.Unit
|
||||
public fun test1(/*0*/ list: kotlin.collections.List<kotlin.Int>): kotlin.Unit
|
||||
public fun </*0*/ T> java.lang.Iterable<T>.foo(): kotlin.Unit
|
||||
public fun </*0*/ T> kotlin.Collection<T>.foo(): kotlin.Unit
|
||||
public fun </*0*/ T, /*1*/ R> java.lang.Iterable<T>.map1(/*0*/ f: (T) -> R): kotlin.List<R>
|
||||
public fun </*0*/ T, /*1*/ R> kotlin.Collection<T>.map1(/*0*/ f: (T) -> R): kotlin.List<R>
|
||||
public fun </*0*/ T> kotlin.collections.Collection<T>.foo(): kotlin.Unit
|
||||
public fun </*0*/ T, /*1*/ R> java.lang.Iterable<T>.map1(/*0*/ f: (T) -> R): kotlin.collections.List<R>
|
||||
public fun </*0*/ T, /*1*/ R> kotlin.collections.Collection<T>.map1(/*0*/ f: (T) -> R): kotlin.collections.List<R>
|
||||
}
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
package
|
||||
|
||||
package b {
|
||||
public fun bar(/*0*/ l: kotlin.List<kotlin.Int>): kotlin.List<kotlin.Int>
|
||||
public fun bar(/*0*/ l: kotlin.collections.List<kotlin.Int>): kotlin.collections.List<kotlin.Int>
|
||||
public fun test(/*0*/ a: b.A): kotlin.Unit
|
||||
|
||||
public final class A {
|
||||
public constructor A()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public final operator fun </*0*/ T> get(/*0*/ i: kotlin.Int): kotlin.List<T>
|
||||
public final operator fun </*0*/ T> get(/*0*/ i: kotlin.Int): kotlin.collections.List<T>
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ package h {
|
||||
public fun test1(/*0*/ z: h.Z): kotlin.Unit
|
||||
public fun test2(/*0*/ z: h.Z): kotlin.Unit
|
||||
public fun test3(/*0*/ z: h.Z): kotlin.Unit
|
||||
public fun test4(/*0*/ collection: kotlin.Collection<h.A<*>>): kotlin.Unit
|
||||
public fun test4(/*0*/ collection: kotlin.collections.Collection<h.A<*>>): kotlin.Unit
|
||||
public fun test5(): kotlin.Unit
|
||||
public fun </*0*/ T> toBeOrNot(): kotlin.Boolean
|
||||
public fun use(/*0*/ vararg a: kotlin.Any? /*kotlin.Array<out kotlin.Any?>*/): kotlin.Array<out kotlin.Any?>
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
package
|
||||
|
||||
public fun </*0*/ T> foo(/*0*/ t: T): T
|
||||
public fun test(/*0*/ map: kotlin.MutableMap<kotlin.Int, kotlin.Int>, /*1*/ t: kotlin.Int): kotlin.Unit
|
||||
public operator fun </*0*/ K, /*1*/ V> kotlin.MutableMap<K, V>.set(/*0*/ key: K, /*1*/ value: V): V?
|
||||
public fun test(/*0*/ map: kotlin.collections.MutableMap<kotlin.Int, kotlin.Int>, /*1*/ t: kotlin.Int): kotlin.Unit
|
||||
public operator fun </*0*/ K, /*1*/ V> kotlin.collections.MutableMap<K, V>.set(/*0*/ key: K, /*1*/ value: V): V?
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
package
|
||||
|
||||
package a {
|
||||
public fun </*0*/ T> kotlin.Iterable<T>.withIndices(): kotlin.List<a.Pair<kotlin.Int, T>>
|
||||
public fun </*0*/ T> kotlin.collections.Iterable<T>.withIndices(): kotlin.collections.List<a.Pair<kotlin.Int, T>>
|
||||
|
||||
public final class Pair</*0*/ out A, /*1*/ out B> {
|
||||
public constructor Pair</*0*/ out A, /*1*/ out B>(/*0*/ first: A, /*1*/ second: B)
|
||||
|
||||
+2
-2
@@ -2,10 +2,10 @@ package
|
||||
|
||||
public final class A</*0*/ T> {
|
||||
public constructor A</*0*/ T>()
|
||||
public final fun </*0*/ U> bar(/*0*/ s: U): kotlin.List<T>
|
||||
public final fun </*0*/ U> bar(/*0*/ s: U): kotlin.collections.List<T>
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public final fun </*0*/ S> foo(/*0*/ s: S): S
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public final fun test(): kotlin.List<T>
|
||||
public final fun test(): kotlin.collections.List<T>
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
@@ -2,9 +2,9 @@ package
|
||||
|
||||
package b {
|
||||
public fun </*0*/ T> foo(/*0*/ t: T): T
|
||||
public fun </*0*/ K, /*1*/ V> mapOf(/*0*/ vararg values: b.Pair<K, V> /*kotlin.Array<out b.Pair<K, V>>*/): kotlin.Map<K, V>
|
||||
public fun </*0*/ K, /*1*/ V> mapOf(/*0*/ vararg values: b.Pair<K, V> /*kotlin.Array<out b.Pair<K, V>>*/): kotlin.collections.Map<K, V>
|
||||
public fun println(/*0*/ message: kotlin.Any?): kotlin.Unit
|
||||
public fun </*0*/ T> query(/*0*/ t: T, /*1*/ args: kotlin.Map<kotlin.String, kotlin.Any>): kotlin.List<T>
|
||||
public fun </*0*/ T> query(/*0*/ t: T, /*1*/ args: kotlin.collections.Map<kotlin.String, kotlin.Any>): kotlin.collections.List<T>
|
||||
public fun test(/*0*/ pair: b.Pair<kotlin.String, kotlin.Int>): kotlin.Unit
|
||||
public fun test(/*0*/ t: kotlin.String): kotlin.Unit
|
||||
public infix fun </*0*/ A, /*1*/ B> A.to(/*0*/ that: B): b.Pair<A, B>
|
||||
|
||||
+2
-2
@@ -3,8 +3,8 @@ package
|
||||
package a {
|
||||
public fun bar(/*0*/ a: kotlin.Any): kotlin.Any
|
||||
public fun bar(/*0*/ i: kotlin.Int): kotlin.Int
|
||||
public fun </*0*/ T> emptyList(): kotlin.List<T>
|
||||
public fun foo(/*0*/ l: kotlin.List<kotlin.Int>): kotlin.Int
|
||||
public fun </*0*/ T> emptyList(): kotlin.collections.List<T>
|
||||
public fun foo(/*0*/ l: kotlin.collections.List<kotlin.Int>): kotlin.Int
|
||||
public fun </*0*/ T : kotlin.Any> makeNullable(/*0*/ t: T): T?
|
||||
public fun test(/*0*/ array: kotlin.Array<kotlin.Int>): kotlin.Unit
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package
|
||||
|
||||
package a {
|
||||
public fun </*0*/ T> g(/*0*/ f: () -> kotlin.List<T>): T
|
||||
public fun </*0*/ T> g(/*0*/ f: () -> kotlin.collections.List<T>): T
|
||||
public fun test(): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -2,6 +2,6 @@ package
|
||||
|
||||
package i {
|
||||
public fun a(): kotlin.Unit
|
||||
public fun </*0*/ T> from(/*0*/ yielder: () -> kotlin.Iterable<T>): kotlin.Iterable<T>
|
||||
public infix fun </*0*/ T> kotlin.Iterable<T>.where(/*0*/ predicate: (T) -> kotlin.Boolean): () -> kotlin.Iterable<T>
|
||||
public fun </*0*/ T> from(/*0*/ yielder: () -> kotlin.collections.Iterable<T>): kotlin.collections.Iterable<T>
|
||||
public infix fun </*0*/ T> kotlin.collections.Iterable<T>.where(/*0*/ predicate: (T) -> kotlin.Boolean): () -> kotlin.collections.Iterable<T>
|
||||
}
|
||||
|
||||
@@ -2,6 +2,6 @@ package
|
||||
|
||||
package i {
|
||||
public fun a(): kotlin.Unit
|
||||
public fun </*0*/ TItem, /*1*/ TResult> select(/*0*/ yielder: () -> kotlin.Iterable<TItem>, /*1*/ selector: (TItem) -> TResult): () -> kotlin.Iterable<TResult>
|
||||
public infix fun </*0*/ TItem> kotlin.Iterable<TItem>.where(/*0*/ predicate: (TItem) -> kotlin.Boolean): () -> kotlin.Iterable<TItem>
|
||||
public fun </*0*/ TItem, /*1*/ TResult> select(/*0*/ yielder: () -> kotlin.collections.Iterable<TItem>, /*1*/ selector: (TItem) -> TResult): () -> kotlin.collections.Iterable<TResult>
|
||||
public infix fun </*0*/ TItem> kotlin.collections.Iterable<TItem>.where(/*0*/ predicate: (TItem) -> kotlin.Boolean): () -> kotlin.collections.Iterable<TItem>
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package
|
||||
|
||||
package d {
|
||||
public fun </*0*/ T> asList(/*0*/ t: T): kotlin.List<T>?
|
||||
public fun </*0*/ T> asList(/*0*/ t: T): kotlin.collections.List<T>?
|
||||
public fun main(/*0*/ args: kotlin.Array<kotlin.String>): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package
|
||||
|
||||
package d {
|
||||
public fun test(/*0*/ numbers: kotlin.Iterable<kotlin.Int>): kotlin.Unit
|
||||
public fun </*0*/ T> kotlin.Iterable<T>.fold(/*0*/ initial: T, /*1*/ operation: (T, T) -> T): T
|
||||
public fun </*0*/ T, /*1*/ R> kotlin.Iterable<T>.map(/*0*/ transform: (T) -> R): kotlin.List<R>
|
||||
public fun test(/*0*/ numbers: kotlin.collections.Iterable<kotlin.Int>): kotlin.Unit
|
||||
public fun </*0*/ T> kotlin.collections.Iterable<T>.fold(/*0*/ initial: T, /*1*/ operation: (T, T) -> T): T
|
||||
public fun </*0*/ T, /*1*/ R> kotlin.collections.Iterable<T>.map(/*0*/ transform: (T) -> R): kotlin.collections.List<R>
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package
|
||||
|
||||
package d {
|
||||
public fun foo(/*0*/ result: kotlin.MutableList<in kotlin.String>, /*1*/ collection: kotlin.MutableCollection<kotlin.String>, /*2*/ prefix: kotlin.String): kotlin.Unit
|
||||
public fun test(/*0*/ result: kotlin.MutableList<in kotlin.Any>, /*1*/ collection: kotlin.MutableCollection<kotlin.String>, /*2*/ prefix: kotlin.String): kotlin.Unit
|
||||
public fun </*0*/ T> kotlin.MutableCollection<out T>.filterToMy(/*0*/ result: kotlin.MutableList<in T>, /*1*/ filter: (T) -> kotlin.Boolean): kotlin.MutableCollection<out T>
|
||||
public fun foo(/*0*/ result: kotlin.collections.MutableList<in kotlin.String>, /*1*/ collection: kotlin.collections.MutableCollection<kotlin.String>, /*2*/ prefix: kotlin.String): kotlin.Unit
|
||||
public fun test(/*0*/ result: kotlin.collections.MutableList<in kotlin.Any>, /*1*/ collection: kotlin.collections.MutableCollection<kotlin.String>, /*2*/ prefix: kotlin.String): kotlin.Unit
|
||||
public fun </*0*/ T> kotlin.collections.MutableCollection<out T>.filterToMy(/*0*/ result: kotlin.collections.MutableList<in T>, /*1*/ filter: (T) -> kotlin.Boolean): kotlin.collections.MutableCollection<out T>
|
||||
public fun kotlin.String.startsWith(/*0*/ prefix: kotlin.String): kotlin.Boolean
|
||||
}
|
||||
|
||||
@@ -3,5 +3,5 @@ package
|
||||
package n {
|
||||
public fun </*0*/ T> arrayList(/*0*/ vararg values: T /*kotlin.Array<out T>*/): java.util.ArrayList<T>
|
||||
public fun test(): kotlin.Unit
|
||||
public operator fun </*0*/ T> kotlin.Iterable<T>.plus(/*0*/ elements: kotlin.Iterable<T>): kotlin.List<T>
|
||||
public operator fun </*0*/ T> kotlin.collections.Iterable<T>.plus(/*0*/ elements: kotlin.collections.Iterable<T>): kotlin.collections.List<T>
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@ package
|
||||
public val bar: kotlin.Unit
|
||||
public val bar2: kotlin.Unit
|
||||
public fun </*0*/ T> arrayListOf(/*0*/ vararg values: T /*kotlin.Array<out T>*/): java.util.ArrayList<T>
|
||||
public fun </*0*/ T> foo(/*0*/ a: T, /*1*/ b: kotlin.Collection<T>, /*2*/ c: kotlin.Int): kotlin.Unit
|
||||
public fun </*0*/ T> foo(/*0*/ a: T, /*1*/ b: kotlin.collections.Collection<T>, /*2*/ c: kotlin.Int): kotlin.Unit
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
package
|
||||
|
||||
package i {
|
||||
public val kotlin.Collection<*>.size: kotlin.Int
|
||||
public val kotlin.collections.Collection<*>.size: kotlin.Int
|
||||
public fun </*0*/ T> arrayList(/*0*/ vararg values: T /*kotlin.Array<out T>*/): java.util.ArrayList<T>
|
||||
public fun test(): kotlin.Unit
|
||||
public fun </*0*/ T, /*1*/ R> kotlin.Collection<T>.map(/*0*/ transform: (T) -> R): kotlin.List<R>
|
||||
public fun </*0*/ T, /*1*/ R, /*2*/ C : kotlin.MutableCollection<in R>> kotlin.Collection<T>.mapTo(/*0*/ result: C, /*1*/ transform: (T) -> R): C
|
||||
public fun </*0*/ T, /*1*/ C : kotlin.MutableCollection<in T>> kotlin.Array<T>.toCollection(/*0*/ result: C): C
|
||||
public fun </*0*/ T, /*1*/ R> kotlin.collections.Collection<T>.map(/*0*/ transform: (T) -> R): kotlin.collections.List<R>
|
||||
public fun </*0*/ T, /*1*/ R, /*2*/ C : kotlin.collections.MutableCollection<in R>> kotlin.collections.Collection<T>.mapTo(/*0*/ result: C, /*1*/ transform: (T) -> R): C
|
||||
public fun </*0*/ T, /*1*/ C : kotlin.collections.MutableCollection<in T>> kotlin.Array<T>.toCollection(/*0*/ result: C): C
|
||||
}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
package
|
||||
|
||||
package n {
|
||||
public fun </*0*/ T : kotlin.Any> kotlin.Iterable<T>.find(/*0*/ predicate: (T) -> kotlin.Boolean): T?
|
||||
public fun </*0*/ T : kotlin.Any> kotlin.collections.Iterable<T>.find(/*0*/ predicate: (T) -> kotlin.Boolean): T?
|
||||
|
||||
public abstract class Buggy {
|
||||
public constructor Buggy()
|
||||
public final val anotherThree: kotlin.Int
|
||||
public abstract val coll: kotlin.Collection<kotlin.Int>
|
||||
public abstract val coll: kotlin.collections.Collection<kotlin.Int>
|
||||
public final val extendedGetter: kotlin.Int
|
||||
public final val yetAnotherThree: kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
|
||||
@@ -3,7 +3,7 @@ package
|
||||
package i {
|
||||
public fun </*0*/ T> arrayList(/*0*/ vararg values: T /*kotlin.Array<out T>*/): java.util.ArrayList<T>
|
||||
public fun assertEquals(/*0*/ expected: kotlin.Any?, /*1*/ actual: kotlin.Any?, /*2*/ message: kotlin.String = ...): kotlin.Unit
|
||||
public fun </*0*/ T, /*1*/ K> someFunction(/*0*/ list: kotlin.List<T>, /*1*/ transform: (T) -> K): kotlin.List<K>
|
||||
public fun </*0*/ T, /*1*/ K> someFunction(/*0*/ list: kotlin.collections.List<T>, /*1*/ transform: (T) -> K): kotlin.collections.List<K>
|
||||
public fun testSomeFunction(): kotlin.Unit
|
||||
public fun </*0*/ T, /*1*/ C : kotlin.MutableCollection<in T>> kotlin.Array<T>.toCollection(/*0*/ result: C): C
|
||||
public fun </*0*/ T, /*1*/ C : kotlin.collections.MutableCollection<in T>> kotlin.Array<T>.toCollection(/*0*/ result: C): C
|
||||
}
|
||||
|
||||
@@ -3,6 +3,6 @@ package
|
||||
package n {
|
||||
public fun </*0*/ T> arrayList(/*0*/ vararg values: T /*kotlin.Array<out T>*/): java.util.ArrayList<T>
|
||||
public fun test(): kotlin.Unit
|
||||
public fun </*0*/ T> kotlin.Iterable<T>.fold(/*0*/ initial: T, /*1*/ operation: (T, T) -> T): T
|
||||
public fun </*0*/ T, /*1*/ R> kotlin.Collection<T>.map(/*0*/ transform: (T) -> R): kotlin.List<R>
|
||||
public fun </*0*/ T> kotlin.collections.Iterable<T>.fold(/*0*/ initial: T, /*1*/ operation: (T, T) -> T): T
|
||||
public fun </*0*/ T, /*1*/ R> kotlin.collections.Collection<T>.map(/*0*/ transform: (T) -> R): kotlin.collections.List<R>
|
||||
}
|
||||
|
||||
@@ -5,8 +5,8 @@ package b {
|
||||
public fun </*0*/ T> f(/*0*/ x: T): b.B<T>
|
||||
|
||||
public final class B</*0*/ T> {
|
||||
public constructor B</*0*/ T>(/*0*/ x: kotlin.List<T>)
|
||||
public final val x: kotlin.List<T>
|
||||
public constructor B</*0*/ T>(/*0*/ x: kotlin.collections.List<T>)
|
||||
public final val x: kotlin.collections.List<T>
|
||||
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
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package
|
||||
|
||||
package a {
|
||||
public fun </*0*/ T> _arrayList(/*0*/ vararg values: T /*kotlin.Array<out T>*/): kotlin.List<T>
|
||||
public fun </*0*/ T> _arrayList(/*0*/ vararg values: T /*kotlin.Array<out T>*/): kotlin.collections.List<T>
|
||||
public fun test(): kotlin.Unit
|
||||
public fun </*0*/ T, /*1*/ R : kotlin.Comparable<R>> kotlin.Iterable<T>._sortBy(/*0*/ f: (T) -> R): kotlin.List<T>
|
||||
public fun </*0*/ T, /*1*/ R : kotlin.Comparable<R>> kotlin.collections.Iterable<T>._sortBy(/*0*/ f: (T) -> R): kotlin.collections.List<T>
|
||||
|
||||
public final class _Pair</*0*/ A> {
|
||||
public constructor _Pair</*0*/ A>(/*0*/ a: A)
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package
|
||||
|
||||
package a {
|
||||
public fun </*0*/ T> bar(/*0*/ a: T, /*1*/ b: kotlin.Map<T, kotlin.String>): kotlin.String?
|
||||
public fun </*0*/ T> foo(/*0*/ a: T, /*1*/ b: kotlin.Map<T, kotlin.String>?): kotlin.String?
|
||||
public fun </*0*/ T> bar(/*0*/ a: T, /*1*/ b: kotlin.collections.Map<T, kotlin.String>): kotlin.String?
|
||||
public fun </*0*/ T> foo(/*0*/ a: T, /*1*/ b: kotlin.collections.Map<T, kotlin.String>?): kotlin.String?
|
||||
public fun test(/*0*/ a: kotlin.Int): kotlin.Unit
|
||||
public fun test1(/*0*/ a: kotlin.Int): kotlin.Unit
|
||||
public fun test2(/*0*/ a: kotlin.Int): kotlin.Unit
|
||||
|
||||
@@ -2,11 +2,11 @@ package
|
||||
|
||||
package c {
|
||||
public fun foo(): kotlin.Boolean
|
||||
public fun getNullableList(): kotlin.List<kotlin.String>?
|
||||
public fun getNullableList(): kotlin.collections.List<kotlin.String>?
|
||||
public fun test(/*0*/ a: c.A<kotlin.Int>?): kotlin.Unit
|
||||
public fun test(/*0*/ nullabilityInfoMap: kotlin.Map<kotlin.Int, kotlin.Any>?): kotlin.Unit
|
||||
public fun test(/*0*/ nullabilityInfoMap: kotlin.collections.Map<kotlin.Int, kotlin.Any>?): kotlin.Unit
|
||||
public fun </*0*/ R> c.A<R>.foo(): kotlin.Unit
|
||||
public fun </*0*/ K, /*1*/ V> kotlin.Map<K, V>.iterator(): kotlin.Iterator<kotlin.Map.Entry<K, V>>
|
||||
public fun </*0*/ K, /*1*/ V> kotlin.collections.Map<K, V>.iterator(): kotlin.collections.Iterator<kotlin.collections.Map.Entry<K, V>>
|
||||
|
||||
public interface A</*0*/ T> {
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
|
||||
@@ -6,7 +6,7 @@ package a {
|
||||
public fun doAction(/*0*/ action: () -> kotlin.Unit): kotlin.Unit
|
||||
public fun foo(): kotlin.Unit
|
||||
public fun test(): kotlin.Unit
|
||||
public fun testWithoutInference(/*0*/ col: kotlin.MutableCollection<kotlin.Int>): kotlin.Unit
|
||||
public fun testWithoutInference(/*0*/ col: kotlin.collections.MutableCollection<kotlin.Int>): kotlin.Unit
|
||||
|
||||
public final class Y</*0*/ TItem> {
|
||||
public constructor Y</*0*/ TItem>(/*0*/ itemToString: (TItem) -> kotlin.String)
|
||||
|
||||
@@ -2,11 +2,11 @@ package
|
||||
|
||||
package a {
|
||||
public fun tempFun(): a.SomeEnum
|
||||
public fun </*0*/ T, /*1*/ R> kotlin.Iterable<T>.fold(/*0*/ initial: R, /*1*/ operation: (R, T) -> R): R
|
||||
public fun kotlin.Iterable<kotlin.Int>.some(): kotlin.Unit
|
||||
public fun kotlin.Iterable<kotlin.Int>.someInt(): kotlin.Unit
|
||||
public fun kotlin.Iterable<kotlin.Int>.someSimple(): kotlin.Unit
|
||||
public fun kotlin.Iterable<kotlin.Int>.someSimpleWithFun(): kotlin.Unit
|
||||
public fun </*0*/ T, /*1*/ R> kotlin.collections.Iterable<T>.fold(/*0*/ initial: R, /*1*/ operation: (R, T) -> R): R
|
||||
public fun kotlin.collections.Iterable<kotlin.Int>.some(): kotlin.Unit
|
||||
public fun kotlin.collections.Iterable<kotlin.Int>.someInt(): kotlin.Unit
|
||||
public fun kotlin.collections.Iterable<kotlin.Int>.someSimple(): kotlin.Unit
|
||||
public fun kotlin.collections.Iterable<kotlin.Int>.someSimpleWithFun(): kotlin.Unit
|
||||
|
||||
public final enum class SomeEnum : kotlin.Enum<a.SomeEnum> {
|
||||
enum entry FIRST
|
||||
|
||||
@@ -2,7 +2,7 @@ package
|
||||
|
||||
package a {
|
||||
public fun foo(/*0*/ a: kotlin.Any?): kotlin.Any?
|
||||
public fun test(/*0*/ s: kotlin.String?, /*1*/ l: kotlin.MutableList<kotlin.String>): kotlin.Unit
|
||||
public fun </*0*/ T> T.fff(/*0*/ l: kotlin.MutableList<T>): kotlin.Boolean
|
||||
public fun test(/*0*/ s: kotlin.String?, /*1*/ l: kotlin.collections.MutableList<kotlin.String>): kotlin.Unit
|
||||
public fun </*0*/ T> T.fff(/*0*/ l: kotlin.collections.MutableList<T>): kotlin.Boolean
|
||||
public fun </*0*/ T : kotlin.Any> T.test(): T
|
||||
}
|
||||
|
||||
@@ -12,8 +12,8 @@ package i {
|
||||
}
|
||||
|
||||
public final class Foo {
|
||||
public constructor Foo(/*0*/ attributes: kotlin.Map<kotlin.String, kotlin.String>)
|
||||
public final val attributes: kotlin.Map<kotlin.String, kotlin.String>
|
||||
public constructor Foo(/*0*/ attributes: kotlin.collections.Map<kotlin.String, kotlin.String>)
|
||||
public final val attributes: kotlin.collections.Map<kotlin.String, 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
|
||||
|
||||
@@ -6,5 +6,5 @@ public final class B</*0*/ T> {
|
||||
public final operator fun </*0*/ S> get(/*0*/ s: kotlin.String): S
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
public final fun </*0*/ S> x(/*0*/ y: B<kotlin.Iterable<S>>): kotlin.Unit
|
||||
public final fun </*0*/ S> x(/*0*/ y: B<kotlin.collections.Iterable<S>>): kotlin.Unit
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package
|
||||
|
||||
public fun </*0*/ T> test(/*0*/ foo: kotlin.List<T>): T
|
||||
public fun </*0*/ S, /*1*/ T : S> kotlin.Iterable<T>.reduce(/*0*/ operation: (S, T) -> S): S
|
||||
public fun </*0*/ T> test(/*0*/ foo: kotlin.collections.List<T>): T
|
||||
public fun </*0*/ S, /*1*/ T : S> kotlin.collections.Iterable<T>.reduce(/*0*/ operation: (S, T) -> S): S
|
||||
|
||||
@@ -2,6 +2,6 @@ package
|
||||
|
||||
package maze {
|
||||
public inline fun </*0*/ T> comparator(/*0*/ fn: (T, T) -> kotlin.Int): java.util.Comparator<T>
|
||||
public fun foo(/*0*/ lines: kotlin.List<kotlin.String>): kotlin.Unit
|
||||
public fun foo(/*0*/ lines: kotlin.collections.List<kotlin.String>): kotlin.Unit
|
||||
public fun </*0*/ T : kotlin.Any> T?.sure(): T
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package
|
||||
|
||||
package a {
|
||||
public fun doWithList(/*0*/ list: kotlin.List<kotlin.Int>): kotlin.List<kotlin.Int>
|
||||
public fun </*0*/ T> emptyList(): kotlin.List<T>?
|
||||
public fun doWithList(/*0*/ list: kotlin.collections.List<kotlin.Int>): kotlin.collections.List<kotlin.Int>
|
||||
public fun </*0*/ T> emptyList(): kotlin.collections.List<T>?
|
||||
public fun foo(): kotlin.Unit
|
||||
}
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
package
|
||||
|
||||
package a {
|
||||
public fun </*0*/ T> arrayListOf(/*0*/ vararg values: T /*kotlin.Array<out T>*/): kotlin.MutableList<T>
|
||||
public fun </*0*/ R> bar(/*0*/ r: kotlin.MutableList<R>, /*1*/ f: () -> R): kotlin.Boolean
|
||||
public fun </*0*/ R> foo(/*0*/ f: () -> R, /*1*/ r: kotlin.MutableList<R>): kotlin.Boolean
|
||||
public fun </*0*/ T> arrayListOf(/*0*/ vararg values: T /*kotlin.Array<out T>*/): kotlin.collections.MutableList<T>
|
||||
public fun </*0*/ R> bar(/*0*/ r: kotlin.collections.MutableList<R>, /*1*/ f: () -> R): kotlin.Boolean
|
||||
public fun </*0*/ R> foo(/*0*/ f: () -> R, /*1*/ r: kotlin.collections.MutableList<R>): kotlin.Boolean
|
||||
public fun test(): kotlin.Unit
|
||||
}
|
||||
|
||||
+5
-5
@@ -1,13 +1,13 @@
|
||||
package
|
||||
|
||||
public operator fun </*0*/ G> kotlin.MutableMap<in kotlin.String, in G>.getValue(/*0*/ thisRef: kotlin.Any?, /*1*/ property: kotlin.reflect.KProperty<*>): G
|
||||
public operator fun </*0*/ S> kotlin.MutableMap<in kotlin.String, in S>.setValue(/*0*/ thisRef: kotlin.Any?, /*1*/ property: kotlin.reflect.KProperty<*>, /*2*/ value: S): kotlin.Unit
|
||||
public fun </*0*/ K, /*1*/ V> kotlin.MutableMap<K, V>.withDefault1(/*0*/ default: (K) -> V): kotlin.MutableMap<K, V>
|
||||
public operator fun </*0*/ G> kotlin.collections.MutableMap<in kotlin.String, in G>.getValue(/*0*/ thisRef: kotlin.Any?, /*1*/ property: kotlin.reflect.KProperty<*>): G
|
||||
public operator fun </*0*/ S> kotlin.collections.MutableMap<in kotlin.String, in S>.setValue(/*0*/ thisRef: kotlin.Any?, /*1*/ property: kotlin.reflect.KProperty<*>, /*2*/ value: S): kotlin.Unit
|
||||
public fun </*0*/ K, /*1*/ V> kotlin.collections.MutableMap<K, V>.withDefault1(/*0*/ default: (K) -> V): kotlin.collections.MutableMap<K, V>
|
||||
|
||||
public final class A {
|
||||
public constructor A(/*0*/ map: kotlin.MutableMap<kotlin.String, kotlin.CharSequence>)
|
||||
public constructor A(/*0*/ map: kotlin.collections.MutableMap<kotlin.String, kotlin.CharSequence>)
|
||||
public final var a: kotlin.String
|
||||
public final val map: kotlin.MutableMap<kotlin.String, kotlin.CharSequence>
|
||||
public final val map: kotlin.collections.MutableMap<kotlin.String, kotlin.CharSequence>
|
||||
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
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package
|
||||
|
||||
public fun foo(): kotlin.Unit
|
||||
public fun </*0*/ T : kotlin.Any> iterate(/*0*/ initialValue: T, /*1*/ nextFunction: (T) -> T?): kotlin.Iterator<T>
|
||||
public fun </*0*/ T : kotlin.Any> iterate(/*0*/ initialValue: T, /*1*/ nextFunction: (T) -> T?): kotlin.collections.Iterator<T>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package
|
||||
|
||||
package typeConstructorMismatch {
|
||||
public fun </*0*/ R> elemAndList(/*0*/ r: R, /*1*/ t: kotlin.List<R>): R
|
||||
public fun test(/*0*/ set: kotlin.Set<kotlin.String>): kotlin.Unit
|
||||
public fun </*0*/ R> R.elemAndListWithReceiver(/*0*/ r: R, /*1*/ t: kotlin.List<R>): R
|
||||
public fun </*0*/ R> elemAndList(/*0*/ r: R, /*1*/ t: kotlin.collections.List<R>): R
|
||||
public fun test(/*0*/ set: kotlin.collections.Set<kotlin.String>): kotlin.Unit
|
||||
public fun </*0*/ R> R.elemAndListWithReceiver(/*0*/ r: R, /*1*/ t: kotlin.collections.List<R>): R
|
||||
}
|
||||
|
||||
compiler/testData/diagnostics/tests/inference/upperBounds/conflictingSubstitutionsFromUpperBound.txt
Vendored
+2
-2
@@ -1,6 +1,6 @@
|
||||
package
|
||||
|
||||
package g {
|
||||
public fun </*0*/ T, /*1*/ C : kotlin.Collection<T>> convert(/*0*/ src: kotlin.Collection<T>, /*1*/ dest: C): C
|
||||
public fun test(/*0*/ l: kotlin.List<kotlin.Int>): kotlin.Unit
|
||||
public fun </*0*/ T, /*1*/ C : kotlin.collections.Collection<T>> convert(/*0*/ src: kotlin.collections.Collection<T>, /*1*/ dest: C): C
|
||||
public fun test(/*0*/ l: kotlin.collections.List<kotlin.Int>): kotlin.Unit
|
||||
}
|
||||
|
||||
+9
-9
@@ -1,13 +1,13 @@
|
||||
package
|
||||
|
||||
package a {
|
||||
public fun </*0*/ T> emptyList(): kotlin.List<T>
|
||||
public fun </*0*/ T : a.A> emptyListOfA(): kotlin.List<T>
|
||||
public fun </*0*/ T : a.A, /*1*/ R : T> emptyStrangeMap(): kotlin.Map<T, R>
|
||||
public fun </*0*/ T, /*1*/ R : T> emptyStrangeMap1(/*0*/ t: T): kotlin.Map<T, R>
|
||||
public fun </*0*/ T : a.A, /*1*/ R : T> emptyStrangeMap2(/*0*/ t: T): kotlin.Map<T, R>
|
||||
public fun </*0*/ T : a.A, /*1*/ R : T> emptyStrangeMap3(/*0*/ r: R): kotlin.Map<T, R>
|
||||
public fun </*0*/ T, /*1*/ R : T> emptyStrangeMap4(/*0*/ l: kotlin.MutableList<T>): kotlin.Map<T, R>
|
||||
public fun </*0*/ T> emptyList(): kotlin.collections.List<T>
|
||||
public fun </*0*/ T : a.A> emptyListOfA(): kotlin.collections.List<T>
|
||||
public fun </*0*/ T : a.A, /*1*/ R : T> emptyStrangeMap(): kotlin.collections.Map<T, R>
|
||||
public fun </*0*/ T, /*1*/ R : T> emptyStrangeMap1(/*0*/ t: T): kotlin.collections.Map<T, R>
|
||||
public fun </*0*/ T : a.A, /*1*/ R : T> emptyStrangeMap2(/*0*/ t: T): kotlin.collections.Map<T, R>
|
||||
public fun </*0*/ T : a.A, /*1*/ R : T> emptyStrangeMap3(/*0*/ r: R): kotlin.collections.Map<T, R>
|
||||
public fun </*0*/ T, /*1*/ R : T> emptyStrangeMap4(/*0*/ l: kotlin.collections.MutableList<T>): kotlin.collections.Map<T, R>
|
||||
public fun </*0*/ U, /*1*/ V : U> foo(): U
|
||||
public fun test1(): kotlin.Unit
|
||||
public fun test2(): kotlin.Unit
|
||||
@@ -15,8 +15,8 @@ package a {
|
||||
public fun test4(): kotlin.Unit
|
||||
public fun test5(/*0*/ a: a.A): kotlin.Unit
|
||||
public fun test6(/*0*/ a: a.A): kotlin.Unit
|
||||
public fun test7(): kotlin.Map<a.A, a.A>
|
||||
public fun test7(/*0*/ list: kotlin.MutableList<kotlin.Int>): kotlin.Unit
|
||||
public fun test7(): kotlin.collections.Map<a.A, a.A>
|
||||
public fun test7(/*0*/ list: kotlin.collections.MutableList<kotlin.Int>): kotlin.Unit
|
||||
public fun test8(): kotlin.Int
|
||||
|
||||
public interface A {
|
||||
|
||||
@@ -3,5 +3,5 @@ package
|
||||
package d {
|
||||
public fun main(/*0*/ args: kotlin.Array<kotlin.String>): kotlin.Unit
|
||||
public fun println(/*0*/ message: kotlin.Any?): kotlin.Unit
|
||||
public inline fun </*0*/ K, /*1*/ V1, /*2*/ V : V1> kotlin.Map<K, V>.getOrElse1(/*0*/ key: K, /*1*/ defaultValue: () -> V1): V1
|
||||
public inline fun </*0*/ K, /*1*/ V1, /*2*/ V : V1> kotlin.collections.Map<K, V>.getOrElse1(/*0*/ key: K, /*1*/ defaultValue: () -> V1): V1
|
||||
}
|
||||
|
||||
Vendored
+4
-4
@@ -1,11 +1,11 @@
|
||||
package
|
||||
|
||||
package a {
|
||||
public fun </*0*/ T> arrayListOf(/*0*/ vararg t: T /*kotlin.Array<out T>*/): kotlin.MutableList<T>
|
||||
public fun </*0*/ T> arrayListOf(/*0*/ vararg t: T /*kotlin.Array<out T>*/): kotlin.collections.MutableList<T>
|
||||
public fun </*0*/ U, /*1*/ V : U> bar(/*0*/ v: V, /*1*/ u: U): U
|
||||
public fun </*0*/ V : U, /*1*/ U> baz(/*0*/ v: V, /*1*/ u: kotlin.MutableSet<U>): kotlin.MutableSet<U>
|
||||
public fun </*0*/ T> checkItIsExactlyAny(/*0*/ t: T, /*1*/ l: kotlin.MutableList<T>): kotlin.Unit
|
||||
public fun </*0*/ V : U, /*1*/ U> baz(/*0*/ v: V, /*1*/ u: kotlin.collections.MutableSet<U>): kotlin.collections.MutableSet<U>
|
||||
public fun </*0*/ T> checkItIsExactlyAny(/*0*/ t: T, /*1*/ l: kotlin.collections.MutableList<T>): kotlin.Unit
|
||||
public fun </*0*/ V : U, /*1*/ U> foo(/*0*/ v: V, /*1*/ u: U): U
|
||||
public fun test(/*0*/ a: kotlin.Any, /*1*/ s: kotlin.MutableSet<kotlin.String>): kotlin.Unit
|
||||
public fun test(/*0*/ a: kotlin.Any, /*1*/ s: kotlin.String): kotlin.Unit
|
||||
public fun test(/*0*/ a: kotlin.Any, /*1*/ s: kotlin.collections.MutableSet<kotlin.String>): kotlin.Unit
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,10 +1,10 @@
|
||||
package
|
||||
|
||||
package m {
|
||||
public fun </*0*/ K, /*1*/ V> testGetOrPut(/*0*/ result: kotlin.MutableMap<K, kotlin.Set<V>>, /*1*/ key: K): kotlin.Unit
|
||||
public fun </*0*/ K, /*1*/ V> testGetOrPut(/*0*/ result: kotlin.collections.MutableMap<K, kotlin.collections.Set<V>>, /*1*/ key: K): kotlin.Unit
|
||||
public fun testProperty(): m.Property<kotlin.Long>
|
||||
public fun testProperty1(): m.Property<kotlin.String>
|
||||
public fun </*0*/ K, /*1*/ V> kotlin.MutableMap<K, V>.getOrPut(/*0*/ key: K, /*1*/ defaultValue: () -> V): V
|
||||
public fun </*0*/ K, /*1*/ V> kotlin.collections.MutableMap<K, V>.getOrPut(/*0*/ key: K, /*1*/ defaultValue: () -> V): V
|
||||
|
||||
public final class Property</*0*/ T : kotlin.Comparable<T>> {
|
||||
public constructor Property</*0*/ T : kotlin.Comparable<T>>(/*0*/ name: kotlin.String, /*1*/ default: () -> T)
|
||||
|
||||
Reference in New Issue
Block a user