Retain data flow info after array accesses

This commit is contained in:
Alexander Udalov
2012-11-13 15:15:48 +04:00
parent 7c0ea67356
commit 57f18fca2e
7 changed files with 99 additions and 16 deletions
@@ -0,0 +1,9 @@
fun foo1(a: Int?, b: Array<Array<Int>>) {
b[a!!][a<!UNNECESSARY_NOT_NULL_ASSERTION!>!!<!>] = a
a : Int
}
fun foo2(a: Int?, b: Array<Array<Int>>) {
b[0][a!!] = a
a : Int
}