"Convert object literal to class" should create inner class if necessary #KT-20091 Fixed
This commit is contained in:
committed by
asedunov
parent
299a4b7f69
commit
e76d8bc793
+11
@@ -0,0 +1,11 @@
|
||||
class Test { // TARGET_BLOCK:
|
||||
fun method() = 1
|
||||
|
||||
fun foo() {
|
||||
<caret>object : Runnable {
|
||||
override fun run() {
|
||||
method()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user