8e00af5642
* Add intention to convert top level val with object expression to object Fixes #KT-14137 * fix intention description
12 lines
105 B
Kotlin
Vendored
12 lines
105 B
Kotlin
Vendored
// IS_APPLICABLE: false
|
|
|
|
interface B {
|
|
}
|
|
|
|
val <caret>a = object : B {
|
|
}
|
|
|
|
fun foo() {
|
|
val ref = ::a
|
|
}
|