[FIR] Fix missing REDUNDANT_VISIBILITY_MODIFIER

This commit is contained in:
Nikolay Lunyak
2021-09-24 16:48:51 +00:00
committed by Space
parent 7666377565
commit 9790b81f38
3 changed files with 26 additions and 5 deletions
@@ -171,3 +171,12 @@ FILE: RedundantVisibilityModifierChecker.kt
}
}
private final class Foo : R|kotlin/Any| {
public constructor(): R|Foo| {
super<R|kotlin/Any|>()
}
internal final fun barBarian(): R|kotlin/Unit| {
}
}
@@ -84,3 +84,7 @@ open class J {
get() = 3.1415926535
set(value) {}
}
private class Foo {
<!REDUNDANT_VISIBILITY_MODIFIER!>internal<!> fun barBarian() {}
}