File tree 2 files changed +6
-0
lines changed
SwiftCompilerPluginMessageHandling
SwiftSyntaxMacroExpansion
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -167,6 +167,9 @@ extension PluginProviderMessageHandler {
167
167
switch macroDefinition. formatMode {
168
168
case . auto: collapseIndentationWidth = nil
169
169
case . disabled: collapseIndentationWidth = [ ]
170
+ #if RESILIENT_LIBRARIES
171
+ @unknown default : fatalError ( )
172
+ #endif
170
173
}
171
174
// Make a single element array by collapsing the results into a string.
172
175
expandedSources = [
Original file line number Diff line number Diff line change @@ -404,6 +404,9 @@ public func expandAttachedMacro<Context: MacroExpansionContext>(
404
404
switch definition. formatMode {
405
405
case . auto: collapseIndentationWidth = indentationWidth
406
406
case . disabled: collapseIndentationWidth = [ ]
407
+ #if RESILIENT_LIBRARIES
408
+ @unknown default : fatalError ( )
409
+ #endif
407
410
}
408
411
return collapse (
409
412
expansions: expandedSources,
You can’t perform that action at this time.
0 commit comments