Converting object literal to class allows to choose a name (KT-19254)
This commit is contained in:
+2
-2
@@ -2,10 +2,10 @@ class Test { // TARGET_BLOCK:
|
||||
fun method() = 1
|
||||
|
||||
fun foo() {
|
||||
O()
|
||||
Runnable1()
|
||||
}
|
||||
|
||||
inner class O : Runnable {
|
||||
inner class Runnable1 : Runnable {
|
||||
override fun run() {
|
||||
method()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user