Skip to content

Conversation

@grynspan
Copy link
Contributor

await is no longer allowed on an if expression, so tweak the code that does that.

`await` is no longer allowed on an `if` expression, so tweak the code that does that.
@grynspan
Copy link
Contributor Author

@swift-ci please test

Copy link
Contributor

@stmontgomery stmontgomery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting… Was it always intentional to disallow that usage and it was just a bug?

@grynspan
Copy link
Contributor Author

I guess it was just a bug!

@grynspan grynspan merged commit bb464ff into main Sep 28, 2023
@grynspan grynspan deleted the jgrynspan/fix-new-build-error branch September 28, 2023 17:35
@stmontgomery stmontgomery added the bug 🪲 Something isn't working label Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug 🪲 Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants