It would be nice to be able to point at the exact fields that are duplicated, instead of just pointing out that they are.
|
allunique(filter(!=(:_), fieldtuple)) || throw(ArgumentError("Fields need to be uniquely identifiable!")) |
|
allunique(filter(!=(:_), fields)) || throw(ArgumentError("Fields need to be uniquely identifiable!")) |
It would be nice to be able to point at the exact fields that are duplicated, instead of just pointing out that they are.
FieldFlags.jl/src/FieldFlags.jl
Line 155 in 9d9591e
FieldFlags.jl/src/FieldFlags.jl
Line 514 in 9d9591e