Added feature to "Convert to expression body" intention: selection for easier explicit type removal
This commit is contained in:
@@ -2,7 +2,7 @@ trait I {
|
||||
fun foo(): String
|
||||
}
|
||||
|
||||
fun bar(): I = object: I {
|
||||
fun bar()<selection>: I</selection> = object: I {
|
||||
override fun foo(): String {
|
||||
return "a"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user