teach 'create from usage' to add 'operator' modifier when necessary
This commit is contained in:
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Create member function 'iterator'" "true"
|
||||
class Foo<T> {
|
||||
fun iterator(): Iterator<T> {
|
||||
operator fun iterator(): Iterator<T> {
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Create member function 'iterator'" "true"
|
||||
class Foo<T> {
|
||||
fun iterator(): Iterator<String> {
|
||||
operator fun iterator(): Iterator<String> {
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user