REDUNDANT_OPEN_FOR_INTERFACE warning: reported for open members without implementation #KT-12452 Fixed

This commit is contained in:
Mikhail Glukhikh
2016-05-24 11:46:47 +03:00
parent e66acd8101
commit 9a69b8b7b5
10 changed files with 58 additions and 13 deletions
@@ -1,10 +1,10 @@
// !DIAGNOSTICS: -CONFLICTING_JVM_DECLARATIONS
interface One {
public open fun foo() : Int
public <!REDUNDANT_OPEN_IN_INTERFACE!>open<!> fun foo() : Int
private fun boo() = 10
}
interface Two {
public open fun foo() : Int
public <!REDUNDANT_OPEN_IN_INTERFACE!>open<!> fun foo() : Int
}
interface OneImpl : One {