[FIR] Report proper resolution diagnostics from arguments checks
This commit is contained in:
committed by
TeamCityServer
parent
6cc3fff48d
commit
631b771251
+2
-2
@@ -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|)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user