Improve Create property from Usage
Place generated property next to other properties #KT-14886 Fixed
This commit is contained in:
+2
-2
@@ -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)
|
||||
}
|
||||
|
||||
+2
-2
@@ -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)
|
||||
}
|
||||
|
||||
+2
-2
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user