Create from Usage: Add operator modifier to indexing get/set functions

#KT-10185 Fixed
This commit is contained in:
Alexey Sedunov
2015-11-26 13:34:20 +03:00
parent 7a40239e64
commit 5b90c09ab1
17 changed files with 17 additions and 17 deletions
@@ -4,7 +4,7 @@ class Foo<T> {
val z: Iterable<T> = y["", w]
}
private fun <V> get(s: String, w: Iterable<V>): T {
private operator fun <V> get(s: String, w: Iterable<V>): T {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}