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

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

Comments

@swift-ci
Copy link

Previous ID SR-8847
Radar None
Original Reporter neal@3dsafety.com (JIRA User)
Type Bug
Status Resolved
Resolution Duplicate
Environment

Swift version 4.2

Ubuntu 18.04 64bit

Additional Detail from JIRA
Votes 0
Component/s libdispatch
Labels Bug, 4.2Regression
Assignee neal@3dsafety.com (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.

@belkadan
Copy link

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

@jckarter
Copy link
Member

jckarter commented Oct 5, 2018

This looks like the same issue as https://bugs.swift.org/browse/SR-8906.

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

No branches or pull requests

3 participants