complete resolve for array access expression

This commit is contained in:
Svetlana Isakova
2013-08-01 16:12:10 +04:00
parent 051055896d
commit 46cb6b3242
6 changed files with 36 additions and 9 deletions
@@ -0,0 +1,11 @@
package b
class A {
fun <T> get(i: Int): List<T> = throw Exception("$i")
}
fun bar(l: List<Int>) = l
fun test(a: A) {
bar(a[12])
}