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,5 @@
fun foo(arr: Array<out Number>): Int {
val result = (arr as Array<Int>)[0]
arr : Array<Int>
return result
}