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-4689] We got extendingOrTruncating wrong #47266

Open
dabrahams opened this issue Apr 25, 2017 · 1 comment
Open

[SR-4689] We got extendingOrTruncating wrong #47266

dabrahams opened this issue Apr 25, 2017 · 1 comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. standard library Area: Standard library umbrella

Comments

@dabrahams
Copy link
Collaborator

Previous ID SR-4689
Radar rdar://problem/31812432
Original Reporter @dabrahams
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Standard Library
Labels Bug
Assignee None
Priority Medium

md5: 9155fdaa1e566c4c6b6e80a72d535212

Issue Description:

The name of this label should be something starting with "truncating," since its only reason for existence is to warn the reader that it might truncate, and because the corresponding old labels begin that way. I keep finding myself typing "truncatingOrExtending" instead of what it actually is. The fact that extension is a possibility is almost not relevant in any case I can think of, since you can always use the label-less constructor in those cases, and only serves to clarify behavior in the most generic contexts.

@dabrahams
Copy link
Collaborator Author

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
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. standard library Area: Standard library umbrella
Projects
None yet
Development

No branches or pull requests

1 participant