Avatar
omochimetaru 10/9/2018 6:19 AM
class A {} protocol BProtocol { associatedtype Info: A var info: Info? { get set } } class B<T1: A>: BProtocol { var info: T1? } protocol CProtocol { associatedtype Property: BProtocol var property: Property? { get set } } class C<T2>: CProtocol where T2 : BProtocol { var property: T2? }
6:20 AM
ちょっと情報は落ちちゃってますがコレで通りました。