[SR-4689] We got extendingOrTruncating wrong #47266
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
standard library
Area: Standard library umbrella
Additional Detail from JIRA
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.
The text was updated successfully, but these errors were encountered: