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-1790] Adding protocol conformance to DispatchQueue gives dyld runtime errors. #44399

Closed
swift-ci opened this issue Jun 16, 2016 · 2 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. SDKOverlay

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-1790
Radar https://openradar.appspot.com/26850367
Original Reporter mattgallagher (JIRA User)
Type Bug
Status Closed
Resolution Cannot Reproduce
Environment

Version 8.0 beta (8S128d)
Apple Swift version 3.0 (swiftlang-800.0.30 clang-800.0.24)
Base SDK 10.12
Tested on Mac OS X 10.11.5

Additional Detail from JIRA
Votes 0
Component/s
Labels Bug, SDKOverlay
Assignee None
Priority Medium

md5: f50a97ffb18e5ff180a0f40484dc98b3

Issue Description:

In Xcode 8 beta 1/Swift 3, the following code:

protocol Nothing {}
extension DispatchQueue: Nothing {}

compiles and links then gives the following error at runtime:

dyld: Symbol not found: _OBJC_CLASS_$_OS_dispatch_queue
  Referenced from: /Users/matt/Library/Developer/Xcode/DerivedData/LinkTest-gstlyfegnnfpwhdvkejgjjkxjxwj/Build/Products/Debug/LinkTest
  Expected in: /usr/lib/libSystem.B.dylib
 in /Users/matt/Library/Developer/Xcode/DerivedData/LinkTest-gstlyfegnnfpwhdvkejgjjkxjxwj/Build/Products/Debug/LinkTest
@swift-ci
Copy link
Collaborator Author

Comment by Matt Gallagher (JIRA)

Looks like this is a duplicate of this:

https://openradar.appspot.com/radar?id=4624971611504640

@swift-ci
Copy link
Collaborator Author

Comment by Matt Gallagher (JIRA)

I can no longer reproduce this bug in Xcode 8 beta 3. It appears to be fixed.

@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. SDKOverlay
Projects
None yet
Development

No branches or pull requests

1 participant