[GHC] #13524: GHC does not preserve order of forall'd vars with TypeApplications
GHC
ghc-devs at haskell.org
Tue Apr 4 19:34:46 UTC 2017
#13524: GHC does not preserve order of forall'd vars with TypeApplications
-------------------------------------+-------------------------------------
Reporter: crockeea | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.2
Resolution: | Keywords:
| TypeApplications
Operating System: Unknown/Multiple | Architecture:
Type of failure: GHC rejects | Unknown/Multiple
valid program | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by RyanGlScott):
* keywords: => TypeApplications
Comment:
Even spookier, this actually //works// on GHC 8.0.1—it's only in GHC 8.0.2
(and HEAD) that I can reproduce the incorrect type variable order when
using the partial type signature.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13524#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list