Commit 9728d6c2 authored by Sylvain Henry's avatar Sylvain Henry Committed by Marge Bot
Browse files

Give plugins a better interface (#17957)

Plugins were directly fetched from HscEnv (hsc_static_plugins and
hsc_plugins). The tight coupling of plugins and of HscEnv is undesirable
and it's better to store them in a new Plugins datatype and to use it in
the plugins' API (e.g. withPlugins, mapPlugins...).

In the process, the interactive context (used by GHCi) got proper
support for different static plugins than those used for loaded modules.

Bump haddock submodule
parent 00b55bfc
Pipeline #45435 canceled with stages
in 31 seconds