Extract Superclass/Interface: Fix bogus visibility warning inside a member when it's being moved as abstract

#KT-15635 Fixed
This commit is contained in:
Alexey Sedunov
2017-01-11 17:09:37 +03:00
parent 65b9049d59
commit 57d364e7d4
8 changed files with 82 additions and 4 deletions
@@ -0,0 +1,17 @@
interface I {
// INFO: {checked: "true", toAbstract: "true"}
fun refer()
}
// NAME: I
// SIBLING:
class BrokenRef : I {
private fun fun1() {}
fun fun2() {}
// INFO: {checked: "true", toAbstract: "true"}
override fun refer() {
fun1()
fun2()
}
}