
#15320: Save the types in the typechecked syntax tree -------------------------------------+------------------------------------- Reporter: nboldi | Owner: (none) Type: feature request | Status: new Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.4.3 Resolution: | Keywords: 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): One way to get the type of an expression is to desugar it using `dsExpr` and then using `exprType`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15320#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler