loader: Unify loadDecls and loadModuleLinkables functions
These two functions nearly did the same thing. I have refactored them so
that loadDecls now calls loadModuleLinkables.
Fixes #26459 (closed)
Due to a large amount of spam we do not allow new users to create repositories, they are "external" users. If you are a new user and want to create a repository, for example for forking GHC, open a new issue on ghc/ghc using the "get-verified" issue template
These two functions nearly did the same thing. I have refactored them so
that loadDecls now calls loadModuleLinkables.
Fixes #26459 (closed)