I believe the source-breaking change could be avoided by removing the default value for the swiftLangaugeVersions
argument and marking that initializer as deprecated. That would still give people a warning when using the deprecated terminology, but still allow them to build with the old name. Since the argument would be required on the deprecated initializer, there would be no ambiguity if neither swiftLanguageVersions
nor swiftLanguageModes
are passed.
1 Like