Skip to content
  • Alan Zimmerman's avatar
    cb83c347
    EPA: Bring back SrcSpan in EpaDelta · cb83c347
    Alan Zimmerman authored and Marge Bot's avatar Marge Bot committed
    When processing files in ghc-exactprint, the usual workflow is to
    first normalise it with makeDeltaAst, and then operate on it.
    
    But we need the original locations to operate on it, in terms of
    finding things.
    
    So restore the original SrcSpan for reference in EpaDelta
    cb83c347
    EPA: Bring back SrcSpan in EpaDelta
    Alan Zimmerman authored and Marge Bot's avatar Marge Bot committed
    When processing files in ghc-exactprint, the usual workflow is to
    first normalise it with makeDeltaAst, and then operate on it.
    
    But we need the original locations to operate on it, in terms of
    finding things.
    
    So restore the original SrcSpan for reference in EpaDelta
Loading