swift
5db4a881 - [Sema] Always create memberwise init when deriving `AdditiveArithmetic`. (#25495)

Commit
6 years ago
[Sema] Always create memberwise init when deriving `AdditiveArithmetic`. (#25495) Previously, during `AdditiveArithmetic` derived conformances, memberwise initializers were synthesized only when synthesizing `static var zero`. This led to a crash for types that specified `static var zero` but not other requirements. Resolves [TF-579](https://bugs.swift.org/browse/TF-579).
Author
Committer
Parents
Loading