Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
5e49b472f81ed95098eec9749aa2ad0415fac731
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
dataFlowInfoTraversal
/
ArrayIndices.fir.kt
blob: 79a073f284e243310a028cc8008c1df555d0a837 [
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
)
}