[GHC] #14569: refutable let bindings produce "irrefutable pattern failed" errors

GHC ghc-devs at haskell.org
Mon Jan 15 19:22:06 UTC 2018


#14569: refutable let bindings produce "irrefutable pattern failed" errors
-------------------------------------+-------------------------------------
        Reporter:  int-e             |                Owner:  dfeuer
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.1
      Resolution:                    |             Keywords:
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:D4261
       Wiki Page:                    |
-------------------------------------+-------------------------------------

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

 In [changeset:"492e6044577519b59f390008362de98e9517e04d/ghc" 492e604/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="492e6044577519b59f390008362de98e9517e04d"
 Kill off irrefutable pattern errors

 Distinguishing between "refutable" and "irrefutable" patterns
 (as described by the Haskell Report) in incomplete pattern errors
 was more confusing than helpful. Remove references to irrefutable
 patterns.

 Reviewers: hvr, bgamari, simonpj

 Reviewed By: simonpj

 Subscribers: simonpj, rwbarton, thomie, carter

 GHC Trac Issues: #14569

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

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


More information about the ghc-tickets mailing list