• Ömer Sinan Ağacan's avatar
    Refactor HscRecomp constructors: · 3bd3456f
    Ömer Sinan Ağacan authored
    Make it evident in the constructors that the final interface is only
    available when HscStatus is not HscRecomp.
    (When HscStatus == HscRecomp we need to finish the compilation to get
    the final interface)
    `Maybe ModIface` return value of hscIncrementalCompile and the partial
    `expectIface` function are removed.
HscMain.hs 79.6 KB