Files
kotlin-fork/compiler/testData/diagnostics/tests/modifiers/openInInterface.fir.kt
T
FenstonSingel b7d8e879a6 [FIR] Support 4 diagnostics for pairs of modifiers
In particular, this commit includes:
* Attempt to abstract access to FirSourceElement via FirModifier
* Add more visit functions to DeclarationCheckersDiagnosticComponent
* Add messages+factories for 4 modifier-related errors and warnings
* Introduce FirModifierChecker
2020-03-27 12:34:29 +03:00

11 lines
236 B
Kotlin
Vendored

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
}