[FIR] Add OVERRIDE_BY_INLINE diagnostic

This commit is contained in:
Andrey Zinovyev
2021-07-21 11:51:53 +03:00
committed by teamcityserver
parent d8b7b7b2dc
commit 29dbaa4ae1
13 changed files with 91 additions and 67 deletions
@@ -39,7 +39,7 @@ abstract class Base {
}
class Derived : Base() {
override final inline fun foo(<!NOT_YET_SUPPORTED_IN_INLINE!>f: () -> Unit<!>) {
<!OVERRIDE_BY_INLINE!>override final inline fun foo(<!NOT_YET_SUPPORTED_IN_INLINE!>f: () -> Unit<!>)<!> {
f()
}
}