I’m making a function that compares sets of Enums and returns a specific other Enum when it does. My problem is that when doing an equality check between Sets, i get an error about my my pins not being valid.
“Pin B is specified as a set, but does not have a valid set property.
Pin A is specified as a set, but does not have a valid set property.”
Even when doing an equality check with itself, i also get this error.
What is the correct way to go about doing this? How can i resolve this situation? For now, I’m planning on converting the sets to lists, then strings before comparing, but I don’t love this Band-Aid solution. Any ideas are welcome. Thank you in advance.