Files
kotlin-fork/compiler/testData/diagnostics/tests/collectionLiterals/collectionLiteralsOutsideOfAnnotations.txt
T
Pavel Kirpichenkov 3de6289c6c [NI] Run completion on subatoms of error calls
Call transformer previously ran completion of argument atoms
only for non-error candidates. This led to missing diagnostics,
i.e. from collection literal resolver.

Now arguments of calls resolved to error descriptor are completed,
with exception to not found provideDelegate calls.
provideDelegate's subatoms are not completed after failure, because
it is a part of delegate competion, which does not end with
unresolved provideDelegate.
Completing after provideDelegate failure removes constraint system
from resolved arguments, which breaks resolve for get/setValue.

^KT-33592 Fixed
2019-12-03 18:19:32 +03:00

14 lines
589 B
Plaintext
Vendored

package
public fun baz(/*0*/ arg: kotlin.Array<kotlin.Int> = ...): kotlin.Unit
public fun takeArray(/*0*/ array: kotlin.Array<kotlin.String>): kotlin.Unit
public fun test(): kotlin.Unit
public final class Foo {
public constructor Foo(/*0*/ v: kotlin.Array<kotlin.Int> = ...)
public final val v: kotlin.Array<kotlin.Int>
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
}