Skip to content

Commit c879e3f

Browse files
authored
Merge pull request #78314 from eeckstein/fix-warning
Fix a compiler warning in SIL/Function.swift
2 parents ef9d2b7 + f8e013a commit c879e3f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

SwiftCompilerSources/Sources/SIL/Function.swift

+2
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,8 @@ final public class Function : CustomStringConvertible, HasShortDescription, Hash
275275
case .MacroExpansion: return .macroExpansion
276276
case .DefaultArgument: return .defaultArgument
277277
case .None: return nil
278+
@unknown default:
279+
fatalError("unknown enum case")
278280
}
279281
}
280282
}

0 commit comments

Comments
 (0)