Fledge 的碎碎念

Micheal Tshai:

I get why Swift 6 is designed this way, but I don’t understand how you’re supposed to make the transition. Swift 5 mode gives no errors at compile time and doesn’t even log any errors at runtime. Swift 6 mode gives no errors at compile time and crashes at runtime. To get from one to the other you’re supposed to go through the code line-by-line and not make any mistakes.

Tshai 应该是没看过今年的 WWDC 相关的 Session 吧,明明有提到如何在 Swift 5 模式下开启警告。

Copyright © Powered by Wordpress