Dan Fabulich
Dan Fabulich
See also: * #504
I should point out that I briefly thought that the reason `if #unavailable(iOS 26.0)` was transpiling to `if true` was that `#unavailable` doesn't have a final asterisk; I thought perhaps...
`if #unavailable` isn't exactly a compiler directive. It's an actual runtime check, left in the code after compilation. (Note the `#` comes _after_ the `if` here.) https://docs.swift.org/swift-book/documentation/the-swift-programming-language/controlflow#Checking-API-Availability `if #unavailable` is...
My point is that "improving the parsing" is not what's called for here. It's just changing the hardcoded `if true` to `if false`.
I still don't quite get it. > The reason we need the `SKIP_BRIDGE` constant is that there isn't any way to tell the Swift package to _avoid_ compiling the original...
I've read and reread this message a few times over the last few days and I can't make heads or tails of it. In particular, I must be misunderstanding you,...