[GHC] #15539: Regression since 7.10.3, "variable not in scope" errors sometimes get buried under a sea of much less relevant errors.

GHC ghc-devs at haskell.org
Mon Aug 20 14:55:56 UTC 2018


#15539: Regression since 7.10.3, "variable not in scope" errors sometimes get
buried under a sea of much less relevant errors.
-------------------------------------+-------------------------------------
        Reporter:  Wizek             |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.4.3
      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:                    |
-------------------------------------+-------------------------------------

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

 In [changeset:"ecc0ddf65b1e2700f83f643fffdd41e966013332/ghc"
 ecc0ddf6/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="ecc0ddf65b1e2700f83f643fffdd41e966013332"
 Initialise cec_suppress properly

 In TcErrors, cec_suppress is used to suppress low-priority
 errors in favour of truly insoluble ones.

 But I was failing to initialise it correcly at top level, which
 resulted in Trac #15539.  Easy to fix.

 A few regression tests have fewer errors reported, but that seems to
 be an improvement.
 }}}

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


More information about the ghc-tickets mailing list