Skip to content

Conversation

@parkera
Copy link
Contributor

@parkera parkera commented Sep 17, 2024

Use the var on PropertyListEncoder instead of the options struct directly, to support overrides in subclasses.

@parkera parkera requested a review from kperryua September 17, 2024 20:46
@parkera
Copy link
Contributor Author

parkera commented Sep 17, 2024

@swift-ci test

@kperryua
Copy link
Contributor

Appears a type mismatch is causing a compiler error.

@parkera
Copy link
Contributor Author

parkera commented Sep 17, 2024

Yah, that should be PropertyListDecoder.PropertyListFormat actually (which is a type alias for each platform).

@parkera parkera force-pushed the parkera/plist_subclassing branch from abb0021 to ea4a8b1 Compare September 17, 2024 21:00
@parkera
Copy link
Contributor Author

parkera commented Sep 17, 2024

@swift-ci test

@parkera
Copy link
Contributor Author

parkera commented Sep 17, 2024

@swift-ci test

@parkera parkera merged commit 7afb23d into swiftlang:main Sep 18, 2024
3 checks passed
@parkera parkera deleted the parkera/plist_subclassing branch September 18, 2024 18:47
cthielen pushed a commit to cthielen/swift-foundation that referenced this pull request Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants