[SR-14108] DateFormatter
is not copied by copy()
with SwiftFoundation.
#3235
Labels
DateFormatter
is not copied by copy()
with SwiftFoundation.
#3235
Environment
Swift 5.3.2
Ubuntu 20.04
Additional Detail from JIRA
md5: 18c43438b829dd3084a420779b428634
Parent-Task:
func copy()
in subclasses ofFormatter
.Issue Description:
DateFormatter.copy()
returns the same instance not a copied one as you can see with following code:It may be caused by
swift-corelibs-foundation/Sources/Foundation/Formatter.swift
Lines 60 to 66 in f17b5a2
The text was updated successfully, but these errors were encountered: