Skip to content

Conversation

@weissi
Copy link
Member

@weissi weissi commented Apr 6, 2021

Motivation:

I accidentally put in the wrong check for A/A, thanks @theMomax for
spotting!

Modification:

Fix the check to be

#if compiler(>=5.4) // we cannot write this on one line with `&&` because Swift 5.0 doesn't like it...
#if compiler(>=5.4) && $AsyncAwait

which works on Swift 5.0+.

Result:

Correct checks.

Motivation:

I accidentally put in the wrong check for A/A, thanks @theMomax for
spotting!

Modification:

Fix the check to be

```
```

which works on Swift 5.0+.

Result:

Correct checks.
@weissi weissi mentioned this pull request Apr 6, 2021
@Lukasa Lukasa added the 🔨 semver/patch No public API change. label Apr 6, 2021
@weissi weissi merged commit 4220c7a into apple:main Apr 6, 2021
@weissi weissi deleted the jw-bad-check branch April 6, 2021 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 semver/patch No public API change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants