diff --git a/idea/testData/scratch/unresolvedMultiline.comp.after b/idea/testData/scratch/unresolvedMultiline.comp.after index c38f4140c67..17b85e35611 100644 --- a/idea/testData/scratch/unresolvedMultiline.comp.after +++ b/idea/testData/scratch/unresolvedMultiline.comp.after @@ -1,6 +1,6 @@ // REPL_MODE: false -foo.forEach { // ERROR: Unresolved reference: foo; Cannot choose among the following candidates without completing ty... +foo.forEach { // ERROR: Unresolved reference: foo; Overload resolution ambiguity: ... 1 + 1 } @@ -8,7 +8,7 @@ fun goo(a: String) { // ERROR: Unresolved reference: goo super.goo(a) } /** unresolvedMultiline.kts:3 Unresolved reference: foo */ -/** unresolvedMultiline.kts:3 Cannot choose among the following candidates without completing type inference: -@HidesMembers public inline fun Iterable.forEach(action: (???) -> Unit): Unit defined in kotlin.collections -@HidesMembers public inline fun Map.forEach(action: (Map.Entry) -> Unit): Unit defined in kotlin.collections */ +/** unresolvedMultiline.kts:3 Overload resolution ambiguity: +@HidesMembers public inline fun Iterable.forEach(action: (TypeVariable(T)) -> Unit): Unit defined in kotlin.collections +@HidesMembers public inline fun Map.forEach(action: (Map.Entry) -> Unit): Unit defined in kotlin.collections */ /** unresolvedMultiline.kts:7 Unresolved reference: goo */ \ No newline at end of file