[FIR] Add NOT_YET_SUPPORTED_IN_INLINE diagnostic

This commit is contained in:
Andrey Zinovyev
2021-07-19 18:21:56 +03:00
committed by teamcityserver
parent bc75a21852
commit 28344c8530
28 changed files with 151 additions and 81 deletions
@@ -17,7 +17,7 @@ fun find(): Any? {
}
fun find4(): Any? {
inline fun visit(element: Any) {
<!NOT_YET_SUPPORTED_IN_INLINE!>inline<!> fun visit(element: Any) {
<!RETURN_NOT_ALLOWED!>return@find4<!> element
}
return null