84a7e3c032
Refactor AbstractResolvedCallsTest to support multiple carets (multiple methods being tested for resolve) in testdata file.
21 lines
932 B
Plaintext
Vendored
21 lines
932 B
Plaintext
Vendored
fun <E : CharSequence> notNullValues(collection: Iterable<E>) {
|
|
collection.spliterator()
|
|
// SUCCESS
|
|
// ORIGINAL: fun spliterator(): Spliterator<T> defined in kotlin.collections.Iterable
|
|
// SUBSTITUTED: fun spliterator(): Spliterator<E> defined in kotlin.collections.Iterable
|
|
}
|
|
|
|
fun <E : CharSequence> nullableValues(collection: Iterable<E?>) {
|
|
collection.spliterator()
|
|
// SUCCESS
|
|
// ORIGINAL: fun spliterator(): Spliterator<T> defined in kotlin.collections.Iterable
|
|
// SUBSTITUTED: fun spliterator(): Spliterator<E?> defined in kotlin.collections.Iterable
|
|
}
|
|
|
|
fun <E : CharSequence?> nullableValues2(collection: Iterable<E>) {
|
|
collection.spliterator()
|
|
// SUCCESS
|
|
// ORIGINAL: fun spliterator(): Spliterator<T> defined in kotlin.collections.Iterable
|
|
// SUBSTITUTED: fun spliterator(): Spliterator<E> defined in kotlin.collections.Iterable
|
|
}
|