[FIR] Don't report TAILREC_ON_VIRTUAL_MEMBER_ERROR on private declarations

This commit is contained in:
Dmitriy Novozhilov
2022-05-13 16:24:18 +03:00
committed by teamcity
parent 399aaeca9d
commit 67589b1b09
5 changed files with 18 additions and 2 deletions
@@ -17,6 +17,10 @@ open class A {
boo(y)
}
<!INCOMPATIBLE_MODIFIERS!>private<!> <!INCOMPATIBLE_MODIFIERS!>open<!> tailrec fun booOpen(y: Int) {
booOpen(y)
}
internal tailrec fun baa(y: Int) {
baa(y)
}