[FIR] Add NOT_YET_SUPPORTED_IN_INLINE diagnostic
This commit is contained in:
committed by
teamcityserver
parent
bc75a21852
commit
28344c8530
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user