Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
dataFlowInfoTraversal
/
ArrayIndices.fir.kt
blob: a6a7a23954579b3a2721420db41454c21d32e9cf [
file
]
// CHECK_TYPE
fun foo1
(
a
:
Int
?,
b
:
Array
<
Array
<
Int
>>)
{
b
[
a
!!][
a
<!
UNNECESSARY_NOT_NULL_ASSERTION
!>!!<!>]
=
a
checkSubtype
<
Int
>(
a
)
}
fun foo2
(
a
:
Int
?,
b
:
Array
<
Array
<
Int
>>)
{
b
[
0
][
a
!!]
=
a
checkSubtype
<
Int
>(
a
)
}