• Matthew Pickering's avatar
    Simplify -ddump-json implementation · 6ab7cf99
    Matthew Pickering authored
    This patch takes the much simpler route of whenever the compiler tries
    to output something. We just dump a JSON document there and then.
    
    I think this should be sufficient to work with and anything more refined
    quickly got complicated as it was necessary to demarcate message scopes
    and so on.
    
    Reviewers: bgamari, dfeuer
    
    Reviewed By: bgamari
    
    Subscribers: Phyx, dfeuer, rwbarton, thomie, carter
    
    GHC Trac Issues: #14078
    
    Differential Revision: https://phabricator.haskell.org/D4532
    6ab7cf99
json.stderr 349 Bytes