Skip to content

Commit

Permalink
Workaround non-Darwin platform build issue
Browse files Browse the repository at this point in the history
Tracked with #39
  • Loading branch information
Kyle-Ye committed Feb 25, 2024
1 parent d1c1da5 commit f9a02ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ extension DynamicProperty {
}
}

// FIXME: Compile crash on non-ObjectiveC platform
// https://github.com/OpenSwiftUIProject/OpenSwiftUI/issues/39
#if canImport(Darwin)
extension BodyAccessor {
func makeBody(
container: _GraphValue<Container>,
Expand Down Expand Up @@ -234,3 +237,4 @@ extension DynamicBody: StatefulRule {
// TODO
}
}
#endif
4 changes: 2 additions & 2 deletions Sources/OpenSwiftUI/Internal/Graph/GraphInputs.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ public struct _GraphInputs {
var transaction: Attribute<Transaction>
var changedDebugProperties: _ViewDebug.Properties
var options: _GraphInputs.Options
// FIXME: Compile crash on Linux
// https://github.com/apple/swift/issues/71086
// FIXME: Compile crash on non-Darwin platform
// https://github.com/OpenSwiftUIProject/OpenSwiftUI/issues/39
#if canImport(Darwin)
var mergedInputs: Set<OGAttribute>
#endif
Expand Down

0 comments on commit f9a02ab

Please sign in to comment.