[GHC] #12435: Turn "No alternatives for a case scrutinee not known to diverge for sure" into a warning

GHC ghc-devs at haskell.org
Thu Aug 25 16:25:07 UTC 2016


#12435: Turn "No alternatives for a case scrutinee not known to diverge for sure"
into a warning
-------------------------------------+-------------------------------------
        Reporter:  nomeata           |                Owner:
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.1
      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 Joachim Breitner <mail@…>):

 In [changeset:"ec7fcfdda7f4655f4cc4399d1b3f4bc2543809db/ghc" ec7fcfd/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="ec7fcfdda7f4655f4cc4399d1b3f4bc2543809db"
 Degrade "case scrutinee not known to diverge for sure" Lint error to
 warning

 as proposed in #12435, as it easily gets in the way of development when
 it reports false positives.
 }}}

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


More information about the ghc-tickets mailing list