It's nothing that is miss all the time, but I was informed about this 
limitation by the compiler before ;-), so unless there are some unexpected 
downsides, it should be added — and I wouldn't limit it to instance members:
Other parameters could be useful defaults as well (or think of scenarios like
func addPerson(firstName: String, lastName: String, fullName: String = 
firstName + lastName))
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to