From 314ec0f6ad93f6f94f617fb4833d84679245979f Mon Sep 17 00:00:00 2001 From: James Moschou Date: Wed, 1 Jul 2026 16:58:02 +0200 Subject: [PATCH] Fix mismatched optional/static view aliases --- .../OpenSwiftUI/View/Configuration/ViewAlias.swift | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Sources/OpenSwiftUI/View/Configuration/ViewAlias.swift b/Sources/OpenSwiftUI/View/Configuration/ViewAlias.swift index 34200146b..b5a2adef0 100644 --- a/Sources/OpenSwiftUI/View/Configuration/ViewAlias.swift +++ b/Sources/OpenSwiftUI/View/Configuration/ViewAlias.swift @@ -225,12 +225,12 @@ private struct SourceFormula: AnySourceFormula where Source: View { return .init() } return if source.valueIsNil == nil { - Optional.makeDebuggableView( + Source.makeDebuggableView( view: _GraphValue(Attribute(identifier: attribute)), inputs: inputs ) } else { - Source.makeDebuggableView( + Optional.makeDebuggableView( view: _GraphValue(Attribute(identifier: attribute)), inputs: inputs ) @@ -246,12 +246,12 @@ private struct SourceFormula: AnySourceFormula where Source: View { return .emptyViewList(inputs: inputs) } return if source.valueIsNil == nil { - Optional.makeDebuggableViewList( + Source.makeDebuggableViewList( view: _GraphValue(Attribute(identifier: attribute)), inputs: inputs ) } else { - Source.makeDebuggableViewList( + Optional.makeDebuggableViewList( view: _GraphValue(Attribute(identifier: attribute)), inputs: inputs ) @@ -263,9 +263,9 @@ private struct SourceFormula: AnySourceFormula where Source: View { inputs: _ViewListCountInputs ) -> Int? { if source.valueIsNil == nil { - Optional._viewListCount(inputs: inputs) - } else { Source._viewListCount(inputs: inputs) + } else { + Optional._viewListCount(inputs: inputs) } } }