Skip to content
  • Sylvain Henry's avatar
    Move Unit related fields from DynFlags to HscEnv · d0e8c10d
    Sylvain Henry authored
    The unit database cache, the home unit and the unit state were stored in
    DynFlags while they ought to be stored in the compiler session state
    (HscEnv). This patch fixes this.
    
    It introduces a new UnitEnv type that should be used in the future to
    handle separate unit environments (especially host vs target units).
    
    Related to #17957
    
    Bump haddock submodule
    d0e8c10d