Kotlin has a imho really nice solution for this: Because constructor parameters 
appear right after the class declaration, you can refer to them in the 
inheritance-clause.

Protocol conformance is a quite important aspect of a type, so I'm not sure if 
it wise to allow "hiding" it — and I hope the promised macro-system will allow 
forwarding, so that there is no special syntax needed.

Bottom line:
Imho it's not the right time for serious discussion (serious means: with the 
goal of a accepted proposal ;-)
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to