[GHC] #10662: GHC warning shows technical summary of AST instead of the user's code
GHC
ghc-devs at haskell.org
Thu Dec 10 10:40:50 UTC 2015
#10662: GHC warning shows technical summary of AST instead of the user's code
-------------------------------------+-------------------------------------
Reporter: kolmodin | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 8.0.1
Component: Compiler | Version: 7.10.2-rc2
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):
Mostly it's a matter of not-printing the stuff added by the typechecker.
E.g. not printing the `HsWrap` constructor in `HsExpr`; that is already
suppressed (and sadly there is no way to display it even when debugging).
But currently we do print the `AbsBinds` constructor in `HsBinds`.
Probably we shouldn't unless some flag `-fprint-typechecker-elaboration`
is on.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10662#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list