Skip to content
  • Matthew Pickering's avatar
    c84dc506
    driver: Properly add an edge between a .hs and its hs-boot file · c84dc506
    Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
    As noted in #21071 we were missing adding this edge so there were
    situations where the .hs file would get compiled before the .hs-boot
    file which leads to issues with -j.
    
    I fixed this properly by adding the edge in downsweep so the definition
    of nodeDependencies can be simplified to avoid adding this dummy edge
    in.
    
    There are plenty of tests which seem to have these redundant boot files
    anyway so no new test. #21094 tracks the more general issue of
    identifying redundant hs-boot and SOURCE imports.
    c84dc506
    driver: Properly add an edge between a .hs and its hs-boot file
    Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
    As noted in #21071 we were missing adding this edge so there were
    situations where the .hs file would get compiled before the .hs-boot
    file which leads to issues with -j.
    
    I fixed this properly by adding the edge in downsweep so the definition
    of nodeDependencies can be simplified to avoid adding this dummy edge
    in.
    
    There are plenty of tests which seem to have these redundant boot files
    anyway so no new test. #21094 tracks the more general issue of
    identifying redundant hs-boot and SOURCE imports.
Loading