If you declare a top-level Swift function named fatalError() with the right signature, it’ll quietly override the Swift standard library function of the same name (at least in your module).

Could be useful for unit tests. Though its declaration as -> Never limits its usefulness.

Sign in to participate in the conversation
Mastodon for Tech Folks

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!