"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 {
var field = 1
fun foo() { // TARGET_BLOCK:
<caret>object : Runnable {
override fun run() {
field = 2
}
}
}
}