"Convert object literal to class" should create inner class if necessary #KT-20091 Fixed

This commit is contained in:
Toshiaki Kameyama
2017-09-14 21:09:59 +09:00
committed by asedunov
parent 299a4b7f69
commit e76d8bc793
10 changed files with 132 additions and 1 deletions
@@ -0,0 +1,11 @@
class Test { // TARGET_BLOCK:
fun method() = 1
fun foo() {
<caret>object : Runnable {
override fun run() {
method()
}
}
}
}