Skip to content
  • Sebastian Graf's avatar
    Hackily decouple the parser from the desugarer · fd5d622a
    Sebastian Graf authored and Marge Bot's avatar Marge Bot committed
    In a hopefully temporary hack, I re-used the idea from !1957 of using a
    nullary type family to break the dependency from GHC.Driver.Hooks on the
    definition of DsM ("Abstract Data").
    This in turn broke the last dependency from the parser to the desugarer.
    More details in `Note [The Decoupling Abstract Data Hack]`.
    
    In the future, we hope to undo this hack again in favour of breaking the
    dependency from the parser to DynFlags altogether.
    fd5d622a