[GHC] #8191: Do not trim type environment when reporting type holes

GHC ghc-devs at haskell.org
Thu Aug 29 15:45:45 UTC 2013


#8191: Do not trim type environment when reporting type holes
-------------------------------------+------------------------------------
        Reporter:  simonpj           |            Owner:
            Type:  bug               |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.6.3
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:a1efe57ed2b5e90c0a562ead754f44821c5434c8/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="a1efe57ed2b5e90c0a562ead754f44821c5434c8"
 Display the full type environment when reporting type holes

 This fixes Trac #8191.

 The patch also adds and documents a new flag -fmax-relevant-bindings=N
 which lets you control how many bindings in the type environment are
 shown.
 }}}

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




More information about the ghc-tickets mailing list