13 lines
168 B
Kotlin
Vendored
13 lines
168 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
package b
|
|
|
|
class A {
|
|
operator fun <T> get(i: Int): List<T> = throw Exception("$i")
|
|
}
|
|
|
|
fun bar(l: List<Int>) = l
|
|
|
|
fun test(a: A) {
|
|
bar(a[12])
|
|
}
|