• glguy's avatar
    Add support for LINE pragma in template-haskell · adcb9dbc
    glguy authored
    Provide a way to generate {-# LINE #-} pragmas when generating
    Decs in Template Haskell. This allows more meaningful line
    numbers to be reported in compile-time errors for dynamically
    generated code.
    Test Plan: Run test suite
    Reviewers: austin, hvr
    Reviewed By: austin
    Subscribers: hvr, simonmar, ezyang, carter, thomie
    Differential Revision: https://phabricator.haskell.org/D299
all.T 12.5 KB