• Ömer Sinan Ağacan's avatar
    Pass ModDetails with (partial) ModIface in HscStatus · 7f695a20
    Ömer Sinan Ağacan authored
    (Partial) ModIface and ModDetails are generated at the same time, but
    they're passed differently: ModIface is passed in HscStatus consturctors
    while ModDetails is returned in a tuple. This refactors ModDetails
    passing so that it's passed around with ModIface in HscStatus
    constructors. This makes the code more consistent and hopefully easier
    to understand: ModIface and ModDetails are really very closely related.
    It makes sense to treat them the same way.
    7f695a20
HscMain.hs 79.2 KB