Skip to content

Generalization of Implicit Conversions #1431

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

johnno1962
Copy link
Contributor

@johnno1962 johnno1962 commented Aug 28, 2021

Hi Apple,

I'm submitting this now as in a sense it has been thrashed out on the forums a number of times. If I were to summarise the sentiment I've seen when it comes to proposing a mechanism for "custom implicit conversions" people have a problem with both of the words "custom" and "implicit" in the community. I view this as a shame as I feel this could be a useful addition to the Swift compiler's superpowers without being particularly difficult to understand or "dangerous"; Its main critique being it could be too powerful for many people's taste. The implementation is a bit sketchy but is only intend as a proof of concept that such a feature can be introduced without slowing down type checking. See the comments in the original PR from May.

Cheers,

John

@airspeedswift
Copy link
Member

@johnno1962 I think the conversation in the thread this originated in moved on since – should this be closed for now while further discussion continues?

@airspeedswift airspeedswift self-assigned this Sep 7, 2021
@johnno1962
Copy link
Contributor Author

johnno1962 commented Sep 8, 2021

How-so? There haven't been any posts on any of the threads this originated from since I opened this - Perhaps that's more the issue. It takes quite a lot of time to try to float a proposal from outside Apple including preparing and benchmarking an implementation. What would be the pressing need closing this out at this stage would serve?

@rjmccall rjmccall added the LSG Contains topics under the domain of the Language Steering Group label Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LSG Contains topics under the domain of the Language Steering Group
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants