Override/Implement: Use function body template when generating functions with default body
#KT-11807 Fixed
This commit is contained in:
@@ -5,7 +5,7 @@ interface T {
|
||||
|
||||
class C(t :T) : T by t {
|
||||
override fun bar() {
|
||||
<selection><caret>throw UnsupportedOperationException()</selection>
|
||||
<selection><caret>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
|
||||
}
|
||||
|
||||
override fun equals(other: Any?): Boolean {
|
||||
@@ -13,7 +13,7 @@ class C(t :T) : T by t {
|
||||
}
|
||||
|
||||
override fun foo() {
|
||||
throw UnsupportedOperationException()
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
override fun hashCode(): Int {
|
||||
|
||||
Reference in New Issue
Block a user