diff options
author | Ian Lynagh <ian@well-typed.com> | 2012-10-08 21:55:23 +0100 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2012-10-08 21:55:23 +0100 |
commit | f7cd14fd30d40ae7e904a533804f43d43dd8f439 (patch) | |
tree | 18ba603b155348ce2761c06003c280666cbd09a4 /compiler/main/DynFlags.hs-boot | |
parent | a94144b81415a542defd5e7e4e7e3561d9d28a0f (diff) | |
download | haskell-f7cd14fd30d40ae7e904a533804f43d43dd8f439.tar.gz |
Put the DynFlags in a global variable for tracing; fixes #7304
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.
Diffstat (limited to 'compiler/main/DynFlags.hs-boot')
-rw-r--r-- | compiler/main/DynFlags.hs-boot | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/main/DynFlags.hs-boot b/compiler/main/DynFlags.hs-boot index 9f14d41600..9f22439661 100644 --- a/compiler/main/DynFlags.hs-boot +++ b/compiler/main/DynFlags.hs-boot @@ -5,8 +5,6 @@ import Platform data DynFlags -tracingDynFlags :: DynFlags - targetPlatform :: DynFlags -> Platform pprUserLength :: DynFlags -> Int pprCols :: DynFlags -> Int |