Extract Superclass/Interface/Pull Up: Reformat modifier lists of generated declarations (to add spaces where needed)

#KT-15639 Fixed
This commit is contained in:
Alexey Sedunov
2017-01-11 14:19:43 +03:00
parent e10b50a648
commit 1c16d2af1a
8 changed files with 56 additions and 0 deletions
@@ -0,0 +1,8 @@
// NAME: A
annotation class Concat
// SIBLING:
class <caret>Abstraction {
// INFO: {"checked": "true", "toAbstract": "true"}
@Concat var extraction = 0
}
@@ -0,0 +1,13 @@
// NAME: A
annotation class Concat
abstract class A {
// INFO: {"checked": "true", "toAbstract": "true"}
@Concat abstract var extraction: Int
}
// SIBLING:
class Abstraction : A() {
// INFO: {"checked": "true", "toAbstract": "true"}
@Concat override var extraction = 0
}
@@ -0,0 +1,8 @@
annotation class Concat
open class A
class <caret>Abstraction : A() {
// INFO: {"checked": "true", "toAbstract": "true"}
@Concat var extraction = 0
}
@@ -0,0 +1,11 @@
annotation class Concat
abstract class A {
// INFO: {"checked": "true", "toAbstract": "true"}
@Concat abstract var extraction: Int
}
class Abstraction : A() {
// INFO: {"checked": "true", "toAbstract": "true"}
@Concat override var extraction = 0
}