complete resolve for array access expression
This commit is contained in:
@@ -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])
|
||||
}
|
||||
Reference in New Issue
Block a user