Create from Usage: Disable "Create property" (non-abstract) in interfaces. Make "Create function" (non-abstract) generate function body in interfaces
#KT-13365 Fixed
This commit is contained in:
+3
-1
@@ -1,7 +1,9 @@
|
||||
// "Create member function 'T.foo'" "true"
|
||||
|
||||
interface T {
|
||||
fun foo(s: String, i: Int): Boolean
|
||||
fun foo(s: String, i: Int): Boolean {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
}
|
||||
|
||||
fun test(t: T) {
|
||||
|
||||
Reference in New Issue
Block a user