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-3615] Corelibs XCTest does not re-export Foundation #376

briancroom opened this issue Jan 11, 2017 · 1 comment

[SR-3615] Corelibs XCTest does not re-export Foundation #376

briancroom opened this issue Jan 11, 2017 · 1 comment


Copy link

@briancroom briancroom commented Jan 11, 2017

Previous ID SR-3615
Radar rdar://problem/29929469
Original Reporter @briancroom
Type Bug
Status Closed
Resolution Done
Additional Detail from JIRA
Votes 1
Component/s XCTest
Labels Bug
Assignee @briancroom
Priority Medium

md5: 6a7740aee2b80266d4aa43519adad590

Issue Description:

An internal engineer has reported that he keeps stubbing toes on a frustrating inconsistency between macOS and Linux:
= On macOS, you can use Foundation data types (such as `Data`) in an XCTest unit test without `import Foundation`
= On Linux, using Foundation data types in unit tests does require `import Foundation`

To provide consistency, Corelibs XCTest should re-export Foundation.

Copy link
Collaborator Author

@briancroom briancroom commented Jan 12, 2017

PR: #183

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 9, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

1 participant