Skip to content

Instantly share code, notes, and snippets.

View bplattenburg's full-sized avatar

Brian Plattenburg bplattenburg

View GitHub Profile
bplattenburg / ExtensionMaskingProperty.playground
Created June 4, 2024 14:38
Swift masking property with computed var from extension should fail
// This fails in an isolated playground as expected,
// but when the original struct is in an SPM package
// and the extension is in my app it does not,
// and the extension version is what ultimately gets called
public struct Test {
public var property: String
extension Test {