[FIR] Add NOT_YET_SUPPORTED_IN_INLINE diagnostic
This commit is contained in:
committed by
teamcityserver
parent
bc75a21852
commit
28344c8530
+5
-5
@@ -1,10 +1,10 @@
|
||||
inline fun inlineFun() {
|
||||
fun localFun() {}
|
||||
class LocalClass {}
|
||||
<!NOT_YET_SUPPORTED_IN_INLINE!>fun<!> localFun() {}
|
||||
<!NOT_YET_SUPPORTED_IN_INLINE!>class<!> LocalClass {}
|
||||
}
|
||||
|
||||
fun outerFun() {
|
||||
inline fun localInlineFun() {}
|
||||
<!NOT_YET_SUPPORTED_IN_INLINE!>inline<!> fun localInlineFun() {}
|
||||
}
|
||||
|
||||
abstract class Base {
|
||||
@@ -13,6 +13,6 @@ abstract class Base {
|
||||
|
||||
class Derived : Base() {
|
||||
override final inline fun withDefault(
|
||||
f: () -> Unit
|
||||
<!NOT_YET_SUPPORTED_IN_INLINE!>f: () -> Unit<!>
|
||||
) {}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user