public protocol ProtocolName {}
public class ClassName {}
private var setOfClassTypes: Set<ProtocolName.Type> = []
private var setOfProtocolsTypes: Set<ClassName.Type> = []
Type ‘ProtocolName.Type’ does not conform to protocol ‘Hashable’
Type ‘ClassName.Type’ does not conform to protocol ‘Hashable’
Maybe someone know how to make this types are Hashable? Is it even possible?
Class ClassName has few subclasses.