[GHC] #11698: GHC's tct_closed flag is not being set correctly

GHC ghc-devs at haskell.org
Mon Mar 14 23:15:35 UTC 2016


#11698: GHC's tct_closed flag is not being set correctly
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:  11656
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Yes, (1) already happens.  The annoying thing is plumbing the info to
 `tcExtendLetEnv`.

 Note that `TcBinds.decideGeneralisationPlan` already computes the closed-
 ness flag, at least for the `InferGen` case; it would be annoying to
 compute it twice.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11698#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list