@backDeployed is operating as an override instead of only for use in unsupported platforms versions

FWIW, this is exactly the reason I argued against making @backDeployed a public-facing feature. It's a good feature, but only Apple's SDK engineers have meaningful reason to use it.

We should definitely clarify its intended use in documentation. In fact, I would go even further and disallow it from regular swift code (so misunderstandings like the one in this thread result in a compiler error), unless one passes in a special compiler flag to enable it.

If users are attaching @backDeploy to their code, they're just making a mistake. Why would we let them do that?

4 Likes