[FE] Prohibit expect external and expect tailrec

^KT-58536 Fixed
This commit is contained in:
Roman Efremov
2023-05-17 16:08:33 +02:00
committed by Space Team
parent e6d5df18b8
commit 439cc88525
26 changed files with 298 additions and 34 deletions
@@ -50,7 +50,7 @@ sealed class ExpectActualCompatibility<out D> {
object FunctionModifiersDifferent : Incompatible<Nothing>("modifiers are different (suspend)")
object FunctionModifiersNotSubset : Incompatible<Nothing>(
"some modifiers on expected declaration are missing on the actual one (external, infix, inline, operator, tailrec)"
"some modifiers on expected declaration are missing on the actual one (infix, inline, operator)"
)
// Properties