Avatar
omochimetaru 11/1/2017 8:29 AM
func f<X: Equatable>(_ x: X) {} f(Int.self) error: TempGround.playground:2:3: error: argument type 'Int.Type' does not conform to expected type 'Equatable'
8:29 AM
Equatableじゃないけど == が定義されてそう