[FIR] Report proper resolution diagnostics from arguments checks

This commit is contained in:
Dmitriy Novozhilov
2021-03-12 11:08:21 +03:00
committed by TeamCityServer
parent 6cc3fff48d
commit 631b771251
8 changed files with 108 additions and 19 deletions
@@ -11,7 +11,7 @@ FILE: nullableIntegerLiteralType.kt
}
}
<Inapplicable(INAPPLICABLE): /takeInt>#(R|<local>/x|)
<Inapplicable(MAY_THROW_RUNTIME_ERROR): /takeInt>#(R|<local>/x|)
}
public final fun test_2(b: R|kotlin/Boolean|, y: R|kotlin/Int|): R|kotlin/Unit| {
lval x: R|kotlin/Int?| = when () {
@@ -23,5 +23,5 @@ FILE: nullableIntegerLiteralType.kt
}
}
<Inapplicable(INAPPLICABLE): /takeInt>#(R|<local>/x|)
<Inapplicable(MAY_THROW_RUNTIME_ERROR): /takeInt>#(R|<local>/x|)
}