Pull Up/Extract Interface: Disable "Make abstract" and assume it to be true for abstract members of an interface

#KT-15355 Fixed
This commit is contained in:
Alexey Sedunov
2017-01-10 21:03:06 +03:00
parent 8c882f0d27
commit 5de4e9fdac
10 changed files with 51 additions and 15 deletions
@@ -0,0 +1,9 @@
// WITH_RUNTIME
interface T
interface <caret>U: T {
// INFO: {"checked": "true"}
val x: Int
// INFO: {"checked": "true"}
fun foo(n: Int): Boolean
}
@@ -0,0 +1,11 @@
// WITH_RUNTIME
interface T {
// INFO: {"checked": "true"}
val x: Int
// INFO: {"checked": "true"}
fun foo(n: Int): Boolean
}
interface U: T {
}