Skip to content

Commit 788ee61

Browse files
authored
Merge pull request #74410 from apple/elsh/add-default
[SwiftCompilerSources] add unknown default case for bridged function serializedkind.
2 parents 51205ad + 41ee82a commit 788ee61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

SwiftCompilerSources/Sources/SIL/Function.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ final public class Function : CustomStringConvertible, HasShortDescription, Hash
147147
case .IsNotSerialized: return .notSerialized
148148
case .IsSerialized: return .serialized
149149
case .IsSerializedForPackage: return .serializedForPackage
150+
@unknown default: fatalError()
150151
}
151152
}
152153

0 commit comments

Comments
 (0)