FIR checker: warn redundant open in interface members properly
This commit is contained in:
committed by
Mikhail Glukhikh
parent
2e8b5f2380
commit
6b5ee6c9f9
@@ -1,10 +0,0 @@
|
||||
interface My {
|
||||
open fun foo()
|
||||
open fun bar() {}
|
||||
<!REDUNDANT_MODIFIER!>open<!> abstract fun baz(): Int
|
||||
|
||||
open val x: Int
|
||||
open val y: String
|
||||
get() = ""
|
||||
<!REDUNDANT_MODIFIER!>open<!> abstract val z: Double
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
interface My {
|
||||
<!REDUNDANT_OPEN_IN_INTERFACE!>open<!> fun foo()
|
||||
open fun bar() {}
|
||||
|
||||
Reference in New Issue
Block a user