Skip to content

Conversation

@compnerd
Copy link
Member

The code was indented such as to indicate that the check was meant to be
an early return in the if condition only. However, because it would
just always trigger previously, the code would happen to have the
correct behaviour.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@compnerd
Copy link
Member Author

CC: @benlangmuir

@compnerd
Copy link
Member Author

@swift-ci please test

Undent the code that was mis-indended leading to a warning with clang.
@compnerd
Copy link
Member Author

@swift-ci please smoke test

@compnerd
Copy link
Member Author

@swift-ci please test Windows platform

@compnerd compnerd merged commit bbbe67e into swiftlang:master Jun 29, 2020
@compnerd compnerd deleted the brace-yourself branch June 29, 2020 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants