[GHC] #12687: Add a flag to control constraint solving trace

#12687: Add a flag to control constraint solving trace -------------------------------------+------------------------------------- Reporter: mpickering | Owner: Type: task | Status: new Priority: lowest | Milestone: Component: Compiler | Version: 8.0.1 Keywords: newcomer | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- There are flags to control the typechecking and renaming trace (`-dtrace- tc`, `-dtrace-rn`) but the constraint solver trace can't be controlled in this way. It doesn't seem to always be emitted but it the behaviour should be unified with the other tracing functions. `traceTcS` should be implemented in terms of `traceOptTcRn` and a flag added to control the output. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12687 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12687: Add a flag to control constraint solving trace -------------------------------------+------------------------------------- Reporter: mpickering | Owner: Type: task | Status: new Priority: lowest | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by mpickering): It seems there is a flag `-ddump-cs-trace` but `csTraceTcM` implements it's own logic which should be unified with the logic in `traceOptTcRn`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12687#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12687: Add a flag to control constraint solving trace -------------------------------------+------------------------------------- Reporter: mpickering | Owner: Type: task | Status: new Priority: lowest | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj): Fine with me! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12687#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC