mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
codingPath more often than not actually needs to be copied, not just referenced. This makes a big difference for nested containers and subobjects, which were getting the wrong codingPath values when asking for them. This also adds unit tests for JSONEncoder and PropertyListEncoder to confirm expected behavior.
28 KiB
28 KiB