[FIR] Cleanup and refactoring for checkers

This commit is contained in:
vladislavf7@gmail.com
2020-07-21 10:06:55 +03:00
committed by Mikhail Glukhikh
parent fb946a6a3f
commit 2b0639d4ad
5 changed files with 42 additions and 9 deletions
@@ -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|