Extract Interface/Pull Up: Drop 'final' modifier when moving to an interface

#KT-15640 Fixed
This commit is contained in:
Alexey Sedunov
2017-01-11 13:24:05 +03:00
parent 66f1925f16
commit e10b50a648
8 changed files with 49 additions and 1 deletions
@@ -0,0 +1,6 @@
// NAME: I
// SIBLING:
class <caret>A {
// INFO: {checked: "true"}
final val one = 1
}
@@ -0,0 +1,11 @@
interface I {
// INFO: {checked: "true"}
val one: Int
}
// NAME: I
// SIBLING:
class A : I {
// INFO: {checked: "true"}
final override val one = 1
}