
#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 goldfire): comment:1 is true, but I can't imagine it's all that difficult to get the type from a `HsExpr GhcTc` directly. I don't think we have that function currently, but I think `hsExprType :: HsExpr GhcTc -> Type` should be quite doable. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15320#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler