From b3a05b1e0d8bd5d161d3714bb6a8b4d390ca4c66 Mon Sep 17 00:00:00 2001 From: Mikhail Zarechenskiy Date: Tue, 25 Jun 2019 15:47:34 +0300 Subject: [PATCH] [IDE-NI-MIGRATE] Update test-data after switching to NI --- idea/testData/scratch/unresolvedMultiline.comp.after | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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