File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Sources/SwiftBuildSupport Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -902,6 +902,9 @@ extension ProjectModel.BuildSettings {
902
902
903
903
case . ARCHS, . IPHONEOS_DEPLOYMENT_TARGET, . SPECIALIZATION_SDK_OPTIONS:
904
904
fatalError ( " Unexpected BuildSettings.Declaration: \( setting) " )
905
+ // Allow staging in new cases
906
+ default :
907
+ fatalError ( " Unhandled enum case in BuildSettings.Declaration. Will generate a warning until we have SE-0487 " )
905
908
}
906
909
} else {
907
910
switch setting {
@@ -921,6 +924,9 @@ extension ProjectModel.BuildSettings {
921
924
922
925
case . ARCHS, . IPHONEOS_DEPLOYMENT_TARGET, . SPECIALIZATION_SDK_OPTIONS:
923
926
fatalError ( " Unexpected BuildSettings.Declaration: \( setting) " )
927
+ // Allow staging in new cases
928
+ default :
929
+ fatalError ( " Unhandled enum case in BuildSettings.Declaration. Will generate a warning until we have SE-0487 " )
924
930
}
925
931
}
926
932
}
@@ -949,6 +955,9 @@ extension ProjectModel.BuildSettings.MultipleValueSetting {
949
955
self = . SWIFT_ACTIVE_COMPILATION_CONDITIONS
950
956
case . ARCHS, . IPHONEOS_DEPLOYMENT_TARGET, . SWIFT_VERSION:
951
957
return nil
958
+ // Allow staging in new cases
959
+ default :
960
+ fatalError ( " Unhandled enum case in BuildSettings.Declaration. Will generate a warning until we have SE-0487 " )
952
961
}
953
962
}
954
963
}
You can’t perform that action at this time.
0 commit comments