[Proposal] Mixins


(Anton Zhilin) #1

I have created a pull request, because no suggestions have been added in
two days. Here it is:
https://github.com/apple/swift-evolution/pull/188

Link to the proposal:
https://github.com/Anton3/swift-evolution/blob/mixins/proposals/NNNN-mixins.md

I worry about syntax of renaming in "Resolving conflicts" section:
var y = B.x
func g(arg: Type) = B.f
But it's the best I can think of. Ideas are welcome, as always.
That said, I don't think it's a flaw strong enough not to start a review.