Avatar
norio_nomura 4/26/2018 7:19 AM
@swift-4.1.3 enum A { case hoge(String) } protocol AP {} extension AP where Self == A { static var hoge: (String) -> Self { fatalError() } } extension A: AP {} A.hoge("aa")