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

[SR-1491] Implement support for SE-0080: Failable Numeric Conversion Initializers #44100

Closed
lattner mannequin opened this issue May 12, 2016 · 7 comments
Closed

[SR-1491] Implement support for SE-0080: Failable Numeric Conversion Initializers #44100

lattner mannequin opened this issue May 12, 2016 · 7 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. good first issue Good for newcomers standard library Area: Standard library umbrella

Comments

@lattner
Copy link
Mannequin

lattner mannequin commented May 12, 2016

Previous ID SR-1491
Radar rdar://problem/27382197
Original Reporter @lattner
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Standard Library
Labels Bug, StarterBug
Assignee ultramiraculous (JIRA)
Priority Medium

md5: dbe7a5ce117acb5a606ae7c92abbdfc0

Issue Description:

The new initializers on primitive types as proposed in SE-0080 has been accepted:
https://github.com/apple/swift-evolution/blob/master/proposals/0080-failable-numeric-initializers.md

It would be great to get this implemented.

@swift-ci
Copy link
Collaborator

Comment by Chris Williams (JIRA)

Working on this here:

#2742

@lattner
Copy link
Mannequin Author

lattner mannequin commented Oct 1, 2016

It looks like the integer part of this is done, but the FP components are still missing.

@jtbandes
Copy link
Collaborator

ultramiraculous (JIRA User), now that 4314 has been merged, is this done?

@swift-ci
Copy link
Collaborator

Comment by Chris Williams (JIRA)

Yeah I guess there was a question on the PR about if it should end up in Swift 3.1, but it's at least fixed for 4.0? Because of that I was also unsure of how I should do the changelog/Swift Evolution status updates.

@jtbandes
Copy link
Collaborator

Did your changes not already make it into 3.1 since master was merged today?

@swift-ci
Copy link
Collaborator

Comment by Chris Williams (JIRA)

Oh interesting. I thought 3.1 was branched off and there would need to be another PR to do a cherry-pick.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. good first issue Good for newcomers standard library Area: Standard library umbrella
Projects
None yet
Development

No branches or pull requests

3 participants