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
@@ -1,6 +1,6 @@
// "Create member function 'get'" "true"
class Foo<T> {
fun get(s: String, w: T): T {
operator fun get(s: String, w: T): T {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}