Remove language parameter from BuildSystem.registerForChangeNotifications

The language wasn’t used anywhere.
This commit is contained in:
Alex Hoppen
2023-10-26 18:13:17 -07:00
parent f4a07df3c5
commit 2a51479dea
9 changed files with 21 additions and 23 deletions

View File

@@ -70,7 +70,7 @@ public protocol BuildSystem: AnyObject {
/// IMPORTANT: When first receiving a register request, the `BuildSystem` MUST asynchronously
/// inform its delegate of any initial settings for the given file via the
/// `fileBuildSettingsChanged` method, even if unavailable.
func registerForChangeNotifications(for: DocumentURI, language: Language) async
func registerForChangeNotifications(for: DocumentURI) async
/// Unregister the given file for build-system level change notifications,
/// such as command line flag changes, dependency changes, etc.