You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Dimension.encode(with:) to use same key as init(coder:). (swiftlang#1682)
The encoding method and the decoding method used slightly different
keys. The incorrect key made Dimension (and the subtypes) impossible to
decode (and with Swift Foundation a crash since decoding cannot fail).
Includes a test to check for correctly encoding/decoding cycle.
0 commit comments