[SR-12738] String(format:…) doesn't respect width and precision specifiers for $@ #53304
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: 5eb5642615be0864bce82383c8848162
Issue Description:
Swift's String(format:…) seems to ignore the minimum/maximum width specifier when applied to %@ conversions, unlike NSLog():
In Objective-C:
The text was updated successfully, but these errors were encountered: