Avatar
同じ自動生成でも↓はできた。興味深い。 @swiftbot import Foundation struct DBUser: Equatable { static let name: String = "user" var name: String } let u1 = DBUser(name: "hoge") let u2 = DBUser(name: "fuga") print(u1 == u2) (edited)
🛠 2