Improve Create property from Usage

Place generated property next to other properties
 #KT-14886 Fixed
This commit is contained in:
Dmitry Gridin
2019-02-26 18:45:12 +03:00
parent 5d599ee2ff
commit c89d1af9fa
35 changed files with 228 additions and 85 deletions
@@ -1,9 +1,9 @@
// "Create abstract property 'foo'" "true"
abstract class A {
fun bar(b: Boolean) {}
abstract val foo: Boolean<caret>
fun bar(b: Boolean) {}
fun test() {
bar(foo)
}
@@ -1,9 +1,9 @@
// "Create abstract property 'A.foo'" "true"
abstract class A {
fun bar(b: Boolean) {}
abstract val foo: Boolean<caret>
fun bar(b: Boolean) {}
fun test(a: A) {
bar(a.foo)
}
@@ -1,9 +1,9 @@
// "Create abstract property 'foo'" "true"
interface A {
fun bar(b: Boolean) {}
val foo: Boolean<caret>
fun bar(b: Boolean) {}
fun test() {
bar(foo)
}