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
@@ -3,6 +3,6 @@ fun x (y: Any) {
val z: Any = y[""]
}
fun Any.get(s: String): Any {
operator fun Any.get(s: String): Any {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
}