-
-
Notifications
You must be signed in to change notification settings - Fork 370
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
session-loader: Don't loop forever when we don't find a file in any m…
…ulti component (#4096) * session-loader: Don't loop forever when we don't find a file in any multi component We add a check for if the current file is a target we know about, and emit a diagnostic if that is the case, refusing to load the file in. This doesn't change the implicit adding of the current file as a target for a single component case, as we need the old behaviour to support bare GHC/Direct cradles where not all targets may be listed. * Update ghcide/session-loader/Development/IDE/Session.hs Co-authored-by: fendor <[email protected]> --------- Co-authored-by: fendor <[email protected]> Co-authored-by: Michael Peyton Jones <[email protected]>
- Loading branch information
1 parent
c3b0b37
commit d38af0d
Showing
1 changed file
with
26 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters