Does anyone know if there's some good tech reason to not allow, like:

protocol Foozle {
        enum Errors: Error {
                case malformedFoozle
                case tooManyFoozles
        }
}

Like, to me all this is doing is giving “Errors” a nice namespace, but the 
compiler might have other thoughts.

-W
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to