Skip to content

Commit 5533c19

Browse files
committed
Fix IDView crash
1 parent 38292c5 commit 5533c19

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Sources/OpenSwiftUICore/View/IDView.swift

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,16 @@ extension View {
5353
extension IDView {
5454
@usableFromInline
5555
package static func _makeView(view: _GraphValue<Self>, inputs: _ViewInputs) -> _ViewOutputs {
56-
if _SemanticFeature_v2.isEnabled {
57-
return makeImplicitRoot(view: view, inputs: inputs)
58-
} else {
56+
// FIXME: makeImplicitRoot is not implemented yet
57+
// if _SemanticFeature_v2.isEnabled {
58+
// return makeImplicitRoot(view: view, inputs: inputs)
59+
// } else {
5960
let id = view.value[offset: { .of(&$0.id) }]
6061
let phase = IDPhase(id: id, phase: inputs.viewPhase, lastID: nil, delta: 0)
6162
var inputs = inputs
6263
inputs.viewPhase = Attribute(phase)
6364
return Content.makeDebuggableView(view: view[offset: { .of(&$0.content)}], inputs: inputs)
64-
}
65+
// }
6566
}
6667
}
6768

0 commit comments

Comments
 (0)