[GHC] #13646: strict patterns with no bindings (e.g. `let !() = ...`) trigger -Wunused-pattern-binds

GHC ghc-devs at haskell.org
Tue May 9 09:44:19 UTC 2017


#13646: strict patterns with no bindings (e.g. `let !() = ...`) trigger -Wunused-
pattern-binds
-------------------------------------+-------------------------------------
        Reporter:  exphp             |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.2
      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:"549c8b33da25371ab1aa1818ef27fc418252e667/ghc" 549c8b3/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="549c8b33da25371ab1aa1818ef27fc418252e667"
 Don't warn about variable-free strict pattern bindings

 See Trac #13646 and the new
 Note [Pattern bindings that bind no variables]
 }}}

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


More information about the ghc-tickets mailing list