Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workaround failed associated type inference #1299

Merged
merged 1 commit into from
Dec 10, 2019

Conversation

weissi
Copy link
Member

@weissi weissi commented Dec 10, 2019

Motivation:

Some Swift nightly snapshots fail to compile NIO in release mode
(rdar://57793267), this change is to work around this issue by telling
them compiler the associatedtypes explicitly.

Modifications:

  • add Element and Indices typealises to CircularBuffer explicitly.

Result:

Compiles on all nightlies also in release mode.

Motivation:

Some Swift nightly snapshots fail to compile NIO in release mode
(rdar://57793267), this change is to work around this issue by telling
them compiler the associatedtypes explicitly.

Modifications:

- add `Element` and `Indices` typealises to `CircularBuffer` explicitly.

Result:

Complies on all nightlies also in release mode.
@Lukasa Lukasa added the semver/patch No public API change. label Dec 10, 2019
@Lukasa Lukasa added this to the 2.12.0 milestone Dec 10, 2019
@Lukasa Lukasa merged commit 3f04a5c into apple:master Dec 10, 2019
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