I don’t understand why this is a problem
protocol Element {
}
enum ElementNode<T: Element> {
case element(T)
case empty
}
var childElements = [ElementNode<Element>]()
I need to represent an array of my nodes that could be multiple kinds of
elements
Is there a workaround?
Brandon_______________________________________________ swift-users mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-users
