Skip to content

Commit d6962f3

Browse files
committed
We don't need to check SWIFT_OBSERVATION_MACROS
1 parent 8a16c8b commit d6962f3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

stdlib/public/Observation/Sources/Observation/Macros.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
//
1010
//===----------------------------------------------------------------------===//
1111

12-
#if SWIFT_OBSERVATION_MACROS
13-
#if compiler(>=5.8) && hasAttribute(attached)
1412
@available(SwiftStdlib 5.9, *)
1513
@attached(member)
1614
@attached(memberAttribute)
@@ -22,5 +20,3 @@ public macro Observable() =
2220
@attached(accessor)
2321
public macro ObservableProperty() =
2422
#externalMacro(module: "ObservationMacros", type: "ObservablePropertyMacro")
25-
#endif
26-
#endif

0 commit comments

Comments
 (0)