Thanks @ole and @John_McCall for confirming that it's likely something that should be considered a bug - so I'm glad I filed it. Fixing the compiler is a bit outside of my wheelhouse, so hopefully someone else can do that. I would think in any property wrapper-heavy code, this would make a surprising performance difference (even in SwiftUI, perhaps?).
5 Likes