[FIR] Update testdata after introducing FirResolvedErrorReference

This commit is contained in:
Dmitriy Novozhilov
2022-12-09 12:59:13 +02:00
committed by Space Team
parent dde64c10ea
commit b174bb8844
139 changed files with 454 additions and 508 deletions
@@ -12,7 +12,7 @@ FILE: errorCandidates.kt
public final fun bar(x: R|B|): R|kotlin/Unit| {
}
public final fun test(c: R|C|): R|kotlin/Unit| {
<Inapplicable(INAPPLICABLE): /foo>#(String())
R|/foo<Inapplicable(INAPPLICABLE): /foo>#|(String())
<Ambiguity: bar, [/bar, /bar]>#(R|<local>/c|)
<Unresolved name: baz>#()
}
@@ -16,6 +16,6 @@ FILE: lambdaAsReceiver.kt
fun <anonymous>(): R|kotlin/String| <inline=Unknown> {
^ String()
}
.<None of the following candidates is applicable because of receiver type mismatch: [/bar]>#()
.R|/bar<None of the following candidates is applicable because of receiver type mismatch: [/bar]>#|()
String().R|/bar|()
}