Skip to content

Commit 1e87b75

Browse files
committed
Fix Linux build issue
1 parent c4a8016 commit 1e87b75

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Sources/OpenSwiftUI/Util/AnyAttributeFix.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ package typealias AttributeType = OpenSwiftUICore.AttributeType
1313
extension AnyAttribute {
1414
package static var `nil`: AnyAttribute { AnyAttribute(rawValue: 0x2) }
1515

16+
package static var currentWasModified: Bool { false }
17+
1618
package var source: AnyAttribute? {
1719
get { preconditionFailure("#39") }
1820
nonmutating set { preconditionFailure("#39") }

Sources/OpenSwiftUICore/Util/AnyAttributeFix.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ package struct AttributeType {
6060
extension AnyAttribute {
6161
package static var `nil`: AnyAttribute { AnyAttribute(rawValue: 0x2) }
6262

63+
package static var currentWasModified: Bool { false }
64+
6365
package var source: AnyAttribute? {
6466
get { preconditionFailure("#39") }
6567
nonmutating set { preconditionFailure("#39") }

0 commit comments

Comments
 (0)