b7d8e879a6
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
11 lines
236 B
Kotlin
Vendored
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
|
|
}
|