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
+6
View File
@@ -0,0 +1,6 @@
interface I
class <caret>A : I {
// INFO: {checked: "true"}
final val one = 1
}
@@ -0,0 +1,9 @@
interface I {
// INFO: {checked: "true"}
val one: Int
}
class A : I {
// INFO: {checked: "true"}
final override val one = 1
}