> You can already effectively have these "regions" using extensions, with the
> exception of stored properties since they can't be placed there.
I still think nested extensions would have been a good addition to the
language: If we had those,
struct MyType {
private {
var myPrivateVar: Int?
var anotherOne: String?
}
}
would be a rather small piece of syntactic sugar..._______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution