Skip to content
  • Simon Marlow's avatar
    Track #included files for recompilation checking (#4900, #3589) · 3f34e091
    Simon Marlow authored
    This was pretty straightforward: collect the filenames in the lexer,
    and add them in to the tcg_dependent_files list that the typechecker
    collects.
    
    Note that we still don't get #included files in the ghc -M output.
    Since we don't normally lex the whole file in ghc -M, this same
    mechanism can't be used directly.
    3f34e091