Skip to content

Commit a59f6c4

Browse files
committed
Fix formatting
1 parent 22c8ea6 commit a59f6c4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

SwiftCompilerSources/Sources/Optimizer/ModulePasses/EmbeddedSwiftDiagnostics.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ private struct FunctionChecker {
8888
is InitExistentialAddrInst,
8989
is InitExistentialValueInst,
9090
is ExistentialMetatypeInst:
91-
if !context.options.enableEmbeddedSwiftExistentials {
92-
throw Diagnostic(.embedded_swift_existential_type, instruction.operands[0].value.type, at: instruction.location)
93-
}
91+
if !context.options.enableEmbeddedSwiftExistentials {
92+
throw Diagnostic(.embedded_swift_existential_type, instruction.operands[0].value.type, at: instruction.location)
93+
}
9494

9595
case let aeb as AllocExistentialBoxInst:
9696
throw Diagnostic(.embedded_swift_existential_type, aeb.type, at: instruction.location)

SwiftCompilerSources/Sources/Optimizer/PassManager/Options.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ struct Options {
4545
}
4646

4747
var enableEmbeddedSwiftExistentials: Bool {
48-
hasFeature(.EmbeddedExistentials)
48+
hasFeature(.EmbeddedExistentials)
4949
}
5050

5151
var enableMergeableTraps: Bool {

0 commit comments

Comments
 (0)