Skip to content

[SE-0121] remove uses of optional comparison operators #459

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

Merged
merged 1 commit into from
Jul 21, 2016

Conversation

jtbandes
Copy link
Contributor

These operators will be removed as part of SE-0121 and swiftlang/swift#3637.

This use site was discovered by CI: https://ci.swift.org/job/swift-PR-Linux/2900/console

@jtbandes
Copy link
Contributor Author

jtbandes commented Jul 21, 2016

FYI for whoever works on this code, I think there might be a bug: it seems this function never actually returns nil, because it doesn't use _getter() like all the other getters do: https://github.com/apple/swift-corelibs-foundation/blob/master/Foundation/DateComponents.swift#L224-L226

@jtbandes
Copy link
Contributor Author

Hi @parkera — what's the etiquette for getting stuff merged into corelibs-foundation? Is there a CI setup that can build/test for us?

@parkera
Copy link
Contributor

parkera commented Jul 21, 2016

@swift-ci please test

@parkera
Copy link
Contributor

parkera commented Jul 21, 2016

Same CI as the rest of swift.

@parkera
Copy link
Contributor

parkera commented Jul 21, 2016

That file is mostly shared with the Swift overlay - does the same error exist there?

@jtbandes
Copy link
Contributor Author

@parkera parkera merged commit 9457574 into swiftlang:master Jul 21, 2016
@jtbandes jtbandes deleted the se-0121 branch July 21, 2016 18:41
@jtbandes
Copy link
Contributor Author

Thanks!

DaveLiu888 pushed a commit to DaveLiu888/swift-corelibs-foundation that referenced this pull request Jul 28, 2016
kateinoigakukun pushed a commit to kateinoigakukun/swift-corelibs-foundation that referenced this pull request Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants