Skip to content

Commit e3916d7

Browse files
authored
Signal.Event: changed to @frozen (#841)
This `enum` isn't expected to change. It's important to mark it as `@frozen` so that clients don't get warnings whem compiling with `BUILD_LIBRARY_FOR_DISTRIBUTION`, which might be required in a future version of Carthage supporting Catalyst. (See Carthage/Carthage#3235).
1 parent c43bae3 commit e3916d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/Event.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ extension Signal {
66
///
77
/// Signals must conform to the grammar:
88
/// `value* (failed | completed | interrupted)?`
9+
@frozen
910
public enum Event {
1011
/// A value provided by the signal.
1112
case value(Value)

0 commit comments

Comments
 (0)