Avatar
↓でもいいか。 @swift-4.2.4 protocol Q {} protocol P { var x: Q { get set } } struct T: Q {} struct S: P { var x: Q } let p: P = S(x: T()) (edited)