Commit 06d8c131 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Don't use tracingDynFlags in assertPprPanic

It wasn't needed, but was left over as an oversight
parent 31afdf5c
......@@ -934,7 +934,7 @@ assertPprPanic :: String -> Int -> SDoc -> a
-- ^ Panic with an assertation failure, recording the given file and line number.
-- Should typically be accessed with the ASSERT family of macros
assertPprPanic file line msg
= pprDebugAndThen tracingDynFlags panic "ASSERT failed!" doc
= pprPanic "ASSERT failed!" doc
doc = sep [ hsep [ text "file", text file
, text "line", int line ]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment