[FIR] Cleanup and refactoring for checkers
This commit is contained in:
committed by
Mikhail Glukhikh
parent
fb946a6a3f
commit
2b0639d4ad
+17
@@ -1,4 +1,13 @@
|
||||
FILE: RedundantModalityModifierChecker.kt
|
||||
public final object O : R|kotlin/Any| {
|
||||
private constructor(): R|O| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final fun foo(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
}
|
||||
public abstract interface Interface : R|kotlin/Any| {
|
||||
public open val gav: R|kotlin/Int|
|
||||
public get(): R|kotlin/Int| {
|
||||
@@ -10,6 +19,14 @@ FILE: RedundantModalityModifierChecker.kt
|
||||
private final fun bar(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
public open fun goo(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
public abstract fun tar(): R|kotlin/Unit|
|
||||
|
||||
public abstract fun too(): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
}
|
||||
public abstract interface B : R|kotlin/Any| {
|
||||
public abstract var bar: R|kotlin/Unit|
|
||||
|
||||
Reference in New Issue
Block a user