From 0899c7e8f6885868edcd1b783df48f1137c9fdac Mon Sep 17 00:00:00 2001 From: Timothy Sutton Date: Fri, 20 Feb 2026 21:47:09 -0500 Subject: [PATCH] Fix Swift type inference issue in Optional+Extensions for Xcode 26.4 beta Add explicit type annotation to resolve a type inference regression in the new Swift compiler. --- .../Sources/Extensions/Optional+Extensions.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BlueprintUIAccessibilityCore/Sources/Extensions/Optional+Extensions.swift b/BlueprintUIAccessibilityCore/Sources/Extensions/Optional+Extensions.swift index c015479a1..d23b7531d 100644 --- a/BlueprintUIAccessibilityCore/Sources/Extensions/Optional+Extensions.swift +++ b/BlueprintUIAccessibilityCore/Sources/Extensions/Optional+Extensions.swift @@ -3,7 +3,7 @@ import Foundation extension Optional where Wrapped: RangeReplaceableCollection { static func + (left: Wrapped?, right: Wrapped?) -> Wrapped? { - let val = (left ?? Wrapped()) + (right ?? Wrapped()) + let val: Wrapped = (left ?? Wrapped()) + (right ?? Wrapped()) return val.isEmpty ? nil : val }