SE-0308: `#if` for postfix member expressions

+1

I don't love this syntactically for Swift, but I continuously attempt to do exactly this on a regular basis and expect it to work.
It's much more difficult to read code like this, but I feel the issue is actually because of incomplete editor support for showing the active path through the code as many IDEs do for other languages, and not because of a syntactical issue.

I would very much appreciate this functionality.

7 Likes