Fix compiler tests
This commit is contained in:
@@ -5,5 +5,5 @@ class B<T> {
|
||||
fun <S> x (y: B<Iterable<S>>) {
|
||||
val z: S = y[""] // does not work with [], but works with .get()
|
||||
}
|
||||
fun <S> get(s : String): S = throw Exception()
|
||||
operator fun <S> get(s : String): S = throw Exception()
|
||||
}
|
||||
Reference in New Issue
Block a user