Skip to content
  • Gergely Risko's avatar
    Fix annotation reification for home package modules · 48e475e4
    Gergely Risko authored
    
    
    The reifyAnnotation method of the Q monad correctly gathered annotations
    from TCG and EPS.  Unfortunately it didn't look into the Home Package
    Table.  This resulted in annotations not being found if they are in the
    same package as the splice that is reifying and ghc --make is used for
    compilation management.  Fix this by using the already existing
    prepareAnnotations method from HscTypes.lhs that correctly searches
    in HPT and EPS both.
    
    Signed-off-by: default avatarAustin Seipp <austin@well-typed.com>
    48e475e4