FE 10: wrap ext. receiver inlining prohibition in the language feature

See KT-52502
This commit is contained in:
Mikhail Glukhikh
2022-05-24 15:45:09 +02:00
committed by Space
parent fad35b95d4
commit d7ca7e17c9
37 changed files with 126 additions and 1 deletions
+1
View File
@@ -1,4 +1,5 @@
// FIR_IDENTICAL
// !LANGUAGE: +ForbidExtensionCallsOnInlineFunctionalParameters
// !DIAGNOSTICS: -UNUSED_EXPRESSION -UNUSED_PARAMETER -UNUSED_VARIABLE -NOTHING_TO_INLINE -NON_LOCAL_RETURN_NOT_ALLOWED
infix fun Function1<Int, Unit>.noInlineExt(p: Int) {}