KT-9664 Add quickfix to convert a piece of code to pretty look SAM-style

#KT-9664 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-10-26 23:23:09 +03:00
parent ad030a2c03
commit 891e033d5b
56 changed files with 1050 additions and 82 deletions
@@ -0,0 +1,14 @@
// IS_APPLICABLE: false
interface MyRunnable {
fun run()
}
fun foo(runnable: MyRunnable) {}
fun bar() {
foo(<caret>object : MyRunnable {
override fun run() {
}
})
}