tact
tact copied to clipboard
Struct comparisons
Currently in order to compare two structs between each other one has to manually compare each of the fields, e.g.:
self.s1.a == self.s2.a && self.s1.b == self.s2.b && self.s1.c == self.s2.c
It would be easier and more reliable to have the ability to compare structs:
self.s1 == self.s2
// or
self.s1 != self.s2