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

remove internal ExpressibleBy(Integer|Array)Literal conformances #1258

Merged
merged 1 commit into from
Nov 20, 2019

Conversation

weissi
Copy link
Member

@weissi weissi commented Nov 20, 2019

Motivation:

The ExpressibleBy*Literal conformances require @usableFromInline inits
which make it harder to make NIO compatible with library evolution
because we can no longer just remove all @inlinables and call it a
day.

Modifications:

Remove the ExpressibleBy*Literal conformances for internal types.

Result:

NIO easy to convert into a library evolution mode.

Motivation:

The ExpressibleBy*Literal conformances require `@usableFromInline` inits
which make it harder to make NIO compatible with library evolution
because we can no longer just remove all `@inlinable`s and call it a
day.

Modifications:

Remove the ExpressibleBy*Literal conformances for internal types.

Result:

NIO easy to convert into a library evolution mode.
@weissi weissi requested a review from Lukasa November 20, 2019 10:24
@Lukasa Lukasa added the 🔨 semver/patch No public API change. label Nov 20, 2019
@Lukasa Lukasa added this to the 2.11.0 milestone Nov 20, 2019
@weissi weissi merged commit 67e173d into apple:master Nov 20, 2019
@weissi weissi deleted the jw-rm-expressible-by branch November 20, 2019 10:55
Yasumoto pushed a commit to Yasumoto/swift-nio that referenced this pull request Nov 21, 2019
…le#1258)

Motivation:

The ExpressibleBy*Literal conformances require `@usableFromInline` inits
which make it harder to make NIO compatible with library evolution
because we can no longer just remove all `@inlinable`s and call it a
day.

Modifications:

Remove the ExpressibleBy*Literal conformances for internal types.

Result:

NIO easy to convert into a library evolution mode.
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