[GHC] #13947: GHC 8.2 gives misleading error message for out-of-scope infix type constructor

GHC ghc-devs at haskell.org
Tue Jul 11 18:36:19 UTC 2017


#13947: GHC 8.2 gives misleading error message for out-of-scope infix type
constructor
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  RyanGlScott
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.1-rc2
      Resolution:                    |             Keywords:  ORF
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Poor/confusing    |  Unknown/Multiple
  error message                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D3718
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"85ac65c5f0b057f1b07ed7bf9a8d9aeae4ce1390/ghc" 85ac65c/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="85ac65c5f0b057f1b07ed7bf9a8d9aeae4ce1390"
 Fix #13947 by checking for unbounded names more

 Commit 2484d4dae65c81f218dcfe494b963b2630bb8fa6 accidentally dropped a
 call to `isUnboundName` in an important location. This re-adds it.

 Fixes #13947.

 Test Plan: make test TEST=T13947

 Reviewers: adamgundry, austin, bgamari

 Reviewed By: adamgundry

 Subscribers: rwbarton, thomie

 GHC Trac Issues: #13947

 Differential Revision: https://phabricator.haskell.org/D3718
 }}}

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


More information about the ghc-tickets mailing list