Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumSwiftgeneric where clausesSingle-choice MCQ

Given this constrained extension, which call is rejected by the compiler?

extension Array where Element: Numeric { func total() -> Element { reduce(.zero, +) } }