Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6fc27c22f44d8051bf2e89f1657c0d9741c281c0
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
dataFlowInfoTraversal
/
AssignmentToArrayElement.fir.kt
blob: 97b08c9bd7d525ae5b169c7aa238e58caea99f14 [
file
]
// !CHECK_TYPE
fun arrayAccessRHS
(
a
:
Int
?,
b
:
Array
<
Int
>)
{
b
[
0
]
=
a
!!
checkSubtype
<
Int
>(
a
)
}
fun arrayAccessLHS
(
a
:
Int
?,
b
:
Array
<
Int
>)
{
b
[
a
!!]
=
a
checkSubtype
<
Int
>(
a
)
}