Add intention to convert top level val with object expression to object declaration (#974)

* Add intention to convert top level val with object expression to object
Fixes #KT-14137

* fix intention description
This commit is contained in:
Kirill Rakhman
2017-05-08 15:35:03 +02:00
committed by Dmitry Jemerov
parent 93b5eec71e
commit 8e00af5642
16 changed files with 216 additions and 0 deletions
@@ -0,0 +1,9 @@
interface B {
fun c()
}
<spot>val a = object: B</spot> {
override fun c() {
}
}