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-2014] Make ObjectIdentifier conform to CustomStringConvertible #44624

Closed
belkadan opened this issue Jul 7, 2016 · 1 comment
Closed

[SR-2014] Make ObjectIdentifier conform to CustomStringConvertible #44624

belkadan opened this issue Jul 7, 2016 · 1 comment
Assignees
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. good first issue Good for newcomers standard library Area: Standard library umbrella

Comments

@belkadan
Copy link
Contributor

belkadan commented Jul 7, 2016

Previous ID SR-2014
Radar None
Original Reporter @belkadan
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Standard Library
Labels Bug, StarterBug
Assignee @xwu
Priority Medium

md5: be6af58208b01bf02d1620383e801b91

Issue Description:

import Foundation
let obj = NSObject()
print(ObjectIdentifier(obj))
% xcrun swift test.swift
ObjectIdentifier(_value: (Opaque Value))

We should print something useful here, like ObjectIdentifier(0x00101234).

@xwu
Copy link
Collaborator

xwu commented Jul 13, 2016

Dmitri has asked it be CustomDebugStringConvertible instead, so that's what I've implemented.

@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. good first issue Good for newcomers standard library Area: Standard library umbrella
Projects
None yet
Development

No branches or pull requests

2 participants