[SR-6032] String(describing:) shouldn't include extra stuff if the class is private #48589
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
good first issue
Good for newcomers
runtime
The Swift Runtime
standard library
Area: Standard library umbrella
Environment
Apple Swift version 4.0 (swiftlang-900.0.65 clang-900.0.37)
Target: x86_64-apple-macosx10.9
Additional Detail from JIRA
md5: 523b9f57ba12dd9b37135eb1c712aac2
relates to:
Issue Description:
`String(describing)` adds "extra stuff" to the end of a class name to disambiguate it from other classes that could be named the same. This shouldn't be the case for `String(describing)` since it includes the module name.
Discussion from Twitter:
https://twitter.com/soffes/status/913875836498976769
https://twitter.com/UINT_MIN/status/913877830823403522
https://twitter.com/UINT_MIN/status/913877917339283456
https://twitter.com/UINT_MIN/status/913877917339283456
The text was updated successfully, but these errors were encountered: