You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove assertion that we can't register for change notifications twice in SwiftPMWorkspace
There’s no harm in registering for change notifications for the same file twice. Currently, this can happen if you open two files that have the same main file.
`BuildSystemManager` checks that there are no more files referencing a main file before calling `unregisterForChangeNotifications`, so this is where the “complicated” logic lives that checks if sourcekit-lsp really isn’t interested in a file anymore.
rdar://117603105
0 commit comments