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-8847] DispatchTimeInterval String representation regression Swift 4.2/Ubuntu 18.04 #650

swift-ci opened this issue Sep 25, 2018 · 2 comments


Copy link

@swift-ci swift-ci commented Sep 25, 2018

Previous ID SR-8847
Radar None
Original Reporter (JIRA User)
Type Bug
Status Resolved
Resolution Duplicate

Swift version 4.2

Ubuntu 18.04 64bit

Additional Detail from JIRA
Votes 0
Component/s libdispatch
Labels Bug, 4.2Regression
Assignee (JIRA)
Priority Medium

md5: 60b624086d8cf50d44a253821650bf09

relates to:

  • SR-8906 Can't print() a DispatchQoS instance on Linux (any longer)

Issue Description:

"\(DispatchTimeInterval.nanoseconds(1))" prints

"nanoseconds(1)" on Swift 4.2/OSX and Swift 4.1/Ubuntu 16.04

but prints

"unknown()" on Swift 4.2/Ubuntu 18.04.

Additionally, on Ubuntu 18.04 the message "SWIFT RUNTIME BUG: unable to find field metadata for type 'Dispatch.DispatchTimeInterval'" is printed to stderr three times.

Please see DispatchTimeIntervalSwift42Testsfor a test which succeeds on Swift 4.2/OSX but fails on Swift 4.2/Ubuntu 18.04.

Copy link

@belkadan belkadan commented Sep 26, 2018

cc dgrove-oss (JIRA User), mww (JIRA User)

Copy link

@jckarter jckarter commented Oct 5, 2018

This looks like the same issue as

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 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

3 participants