Intention "Convert to expression body"

This commit is contained in:
Valentin Kipyatkov
2014-01-22 19:52:58 +04:00
parent d01ff28212
commit 020ea99220
32 changed files with 391 additions and 7 deletions
@@ -0,0 +1,12 @@
// "Convert to expression body" "true"
trait I {
fun foo(): String
}
fun bar(): I {
<caret>return object: I {
override fun foo(): String {
return "a"
}
}
}