Skip to content

SR-10638: Change the type of force casting in NSCalendar. #2318

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
Jun 7, 2019

Conversation

YOCKOW
Copy link
Member

@YOCKOW YOCKOW commented Jun 6, 2019

Despite CFDateFormatterCopyProperty(_:_:) returns CFArrayRef when the key is kCFDateFormatterEraSymbolsKey, the compiler on Linux assume that the type is _NSCFArray and fails to cast even though they are compatible.

Resolves SR-10638.

Note: This bug is blocking PR#2200.

… [String]`.

Despite `CFDateFormatterCopyProperty(_:_:)` returns `CFArrayRef`, the compiler on Linux assume that the type is `_NSCFArray` and fails to cast even though they are compatible. See https://bugs.swift.org/browse/SR-10638 .
@spevans
Copy link
Contributor

spevans commented Jun 6, 2019

@swift-ci test

@millenomi millenomi merged commit 7db2d82 into swiftlang:master Jun 7, 2019
@YOCKOW YOCKOW deleted the sr10638 branch June 8, 2019 07:48
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.

3 participants