• ian@well-typed.com's avatar
    Put the DynFlags in a global variable for tracing; fixes #7304 · f7cd14fd
    ian@well-typed.com authored
    This is an ugly kludge to make a DynFlags value available for the
    'trace' functions. It may not be the value we really ought to use,
    but it'll be good enough for the pretty-printer to use.
    Ideally we'd pass the real DynFlags down to all the trace calls,
    but this will do for now at least.
DynFlags.hs 129 KB