Create from Usage: Add operator modifier to indexing get/set functions
#KT-10185 Fixed
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ class Foo<T> {
|
||||
val z: Iterable<T> = y["", w]
|
||||
}
|
||||
|
||||
private fun get(s: String, w: T): T {
|
||||
private operator fun get(s: String, w: T): T {
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user