93e9d3e57d
This issue appeared after recently added new overload for flatMapTo. Before that, we picked candidate returning List<T> and completed inference, now we also check one more flatMapTo, which is here is incorrect and as a result we go into outer scope. Outer scope contains one property with deferred type, which introduced error about "typechecker has run into recursive problem" even it isn't applicable by receiver. So, the fix is to check receiver first and only then check return type of a candidate. #KT-39470 Fixed
20 lines
918 B
Plaintext
Vendored
20 lines
918 B
Plaintext
Vendored
package
|
|
|
|
public val kotlin.String.bar: kotlin.Unit
|
|
public val kotlin.collections.List<Bar>.serializationWhitelists: kotlin.collections.LinkedHashSet<Foo> /* = java.util.LinkedHashSet<Foo> */
|
|
public fun call(/*0*/ f: kotlin.Any): kotlin.Unit
|
|
public fun Foo.bar(): kotlin.Int
|
|
|
|
public interface Bar {
|
|
public abstract val serializationWhitelists: kotlin.collections.List<Foo>
|
|
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 interface Foo {
|
|
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
|
|
}
|