Skip to content

Commit b4c878c

Browse files
committed
Add support for the multi unit argument syntax introduced in GHC 9.4: https://downloads.haskell.org/ghc/9.4.4/docs/users_guide/using.html#multiple-home-units
We now support arguments of the form ``` -unit @unitA -unit @unitb ``` where the response files `unitA` and `unitB` contain the actual list of arguments for that unit: ``` -this-unit-id a-0.1.0.0 -i -isrc A1 A2 ``` Also refactor the session loader and simplify it. Also adds error messages on GHC 9.4 if the units are not closed (#3422).
1 parent ddc67b2 commit b4c878c

File tree

5 files changed

+203
-118
lines changed

5 files changed

+203
-118
lines changed

ghcide/ghcide.cabal

+1
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ library
165165
Development.IDE.Core.UseStale
166166
Development.IDE.GHC.Compat
167167
Development.IDE.GHC.Compat.Core
168+
Development.IDE.GHC.Compat.CmdLine
168169
Development.IDE.GHC.Compat.Env
169170
Development.IDE.GHC.Compat.Iface
170171
Development.IDE.GHC.Compat.Logger

0 commit comments

Comments
 (0)