You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using swift-format in release configuration with default settings, using postfix #if expressions causes swift-format to remove a necessary newline.
Using the code from the evolution proposal, swift-format lint outputs a warning:
Environment
macOS 11.6 (20G165)
swift-format 0.50500.0, release configuration
Additional Detail from JIRA
md5: 06f5c44e7c1b5b10eb313c28ce66331b
Issue Description:
When using swift-format in
release
configuration with default settings, using postfix#if
expressions causes swift-format to remove a necessary newline.Using the code from the evolution proposal,
swift-format lint
outputs a warning:Formatting results in code that causes a compiler error:
The text was updated successfully, but these errors were encountered: