Avatar
omochimetaru 5/15/2017 2:36 AM
struct Hoge<T> { } extension Hoge where T: Sequence { func fuga() -> T.Iterator.Element { // <- Error: 'Element' is not a member type of 'T' fatalError() } } これは通るね
2:36 AM
ConcreteTypeでのEquality Constraintの時には左辺値に型定義が伝搬しない・・・?