From 04d91803a2dd58c14db9cf66c7412c6dd4a26fc8 Mon Sep 17 00:00:00 2001 From: Tim Vermeulen Date: Thu, 15 Apr 2021 01:32:47 +0200 Subject: [PATCH] Fix associated type inference error in release build (#130) --- Sources/Algorithms/Product.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/Algorithms/Product.swift b/Sources/Algorithms/Product.swift index dafb9932..dd6b8b07 100644 --- a/Sources/Algorithms/Product.swift +++ b/Sources/Algorithms/Product.swift @@ -27,6 +27,8 @@ public struct Product2 { } extension Product2: Sequence { + public typealias Element = (Base1.Element, Base2.Element) + /// The iterator for a `Product2` sequence. public struct Iterator: IteratorProtocol { @usableFromInline