[GHC] #12593: ghci spins forever
GHC
ghc-devs at haskell.org
Thu Sep 15 16:43:02 UTC 2016
#12593: ghci spins forever
-------------------------------------+-------------------------------------
Reporter: Iceland_jack | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
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: |
-------------------------------------+-------------------------------------
Changes (by simonpj):
* cc: goldfire (added)
Comment:
Yes, I can reproduce this with HEAD. It seems that we are updating a
unification variable so that it points to itself. I see
{{{
Following filled tyvar
k_arL[tau:1] = (k_apN[sk] |> Sym
U(hole:{arZ}, *, (((k_arR[tau:1]
-> k_arU[tau:1] ->
TYPE t_arG[tau:1])
-> Constraint)
-> (k_arL[tau:1]
-> k_arO[tau:1] ->
TYPE t_arJ[tau:1])
-> *)
-> Constraint)_N)
}}}
And that is disaster. Remarkable example!
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12593#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list