Skip to content

Commit f8e013a

Browse files
committed
Fix a compiler warning in SIL/Function.swift
1 parent cd1ef24 commit f8e013a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

SwiftCompilerSources/Sources/SIL/Function.swift

Lines changed: 2 additions & 0 deletions
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)