Skip to content
Snippets Groups Projects
Commit c222b17e authored by Hassan Al-Awwadi's avatar Hassan Al-Awwadi
Browse files

Move types from GHC.Types.Basic to L.H.S.*

This cuts a few different edges between L.H.S and GHC.Types.Basic

* RuleName is moved to L.H.S.Basic
* fdTopLevel (TopLevelFlag) has been moved to the extension field of FamilyDecl
* OverlapMode has been moved to L.H.S.OverlapPragma
  * SourceText has been moved to its extension fields
  * NonCanonical has been moved to its extension constructor
* InlinePragma has been moved to L.H.S.InlinePragma
  * SourceText and Arity have been moved to its extension point
  * Activation and InlineSpec have also been moved to L.H.S.InlinePragma
* And some general churn as functions and instances move to new locations
  * GHC.Hs.OverlapPragma contains ghc specifics for L.H.S.OverlapPragma and
  * GHC.Hs.InlinePragma contains ghc specifics for L.H.S.InlinePragma
  * TyConFlavour definition is moved to GHC.Hs.Basic to avoid cyclical dependency

-------------------------
Metric Decrease:
    MultiLayerModulesTH_OneShot
-------------------------
parent 301c3b54
No related branches found
No related tags found
No related merge requests found
Pipeline #102681 canceled
Showing
with 73 additions and 44 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment