Avatar
omochimetaru 5/30/2022 4:58 AM
ああ、そうだよ
4:59 AM
caller側が先に真の型を問い合わせて用意する義務がある (edited)
4:59 AM
public func makePair1() -> <T0> (T0, T0) { (S(), S()) } public func makePair2() -> <T0, T1> (T0, T1) { (S(), S()) } // swiftinterface public func makePair1() -> (T0, T0) public func makePair2() -> (T0, T1)