I have an enum class called IndicatorT that looks like this:
and now I'm trying to implement a class called AttributeT which looks like
and the purpose of the AttributeT method should be to set name to be 'attribName' and set s to be equal to the union of all the inputted indicators however that line is giving me an error that says "Cannot infer type arguments for HashSet<>". I looked around for similar errors on the internet but I haven't been able to solve this problem. Any advice is appreciated!