[GHC] #11787: Infer HasCallStack where possible
GHC
ghc-devs at haskell.org
Tue Apr 5 08:09:14 UTC 2016
#11787: Infer HasCallStack where possible
-------------------------------------+-------------------------------------
Reporter: simonpj | Owner: gridaphobe
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.3
Resolution: invalid | 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: |
-------------------------------------+-------------------------------------
Changes (by simonpj):
* status: new => closed
* resolution: => invalid
Comment:
> we no longer infer CallStacks, period
Oh yes, right! That makes this ticket redundant.
> You seem to be suggesting that the fix for #11376 involves expanding
type synonyms,
Typechecking any expression, such as `(\x -> error x)` involves
instantiating constraints, in this case the `HasCallStack` constraint from
`error`. Then we simplify and re-generalise. It's that step that expands
the synonym.
Anyway, I'll close this as no-longer-relevant.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11787#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list