[GHC] #8101: No pattern match non-exhaustiveness warnings when compiling with -fno-code

GHC ghc-devs at haskell.org
Sun May 7 16:29:26 UTC 2017


#8101: No pattern match non-exhaustiveness warnings when compiling with -fno-code
-------------------------------------+-------------------------------------
        Reporter:  exbb2             |                Owner:  (none)
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:  7.8.1
       Component:  Compiler          |              Version:  7.6.3
      Resolution:  duplicate         |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Incorrect         |  Unknown/Multiple
  warning at compile-time            |            Test Case:  T8101
      Blocked By:                    |             Blocking:
 Related Tickets:  #10600            |  Differential Rev(s):
-------------------------------------+-------------------------------------

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

 In [changeset:"baa18def0da17f11497fecc6fe440cf125b50878/ghc" baa18de/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="baa18def0da17f11497fecc6fe440cf125b50878"
 testsuite: add new test for desugar warnings/errors with -fno-code

 Add a new (expect_broken) test T10600 that checks that the error:
 Top-level bindings for unlifted types aren't allowed: is thrown when
 compiling with -fno-code. This test currently fails because modules
 compiled with -fno-code aren't desugared. There are several other errors
 which can be thrown during desugaring that aren't tested for,
 discoverable by grepping for "errDs".

 Update .stderr files T8101 and T8101b. Presumably the compilation output
 has changed slightly since they were written.

 Reviewers: austin, bgamari

 Reviewed By: bgamari

 Subscribers: rwbarton, thomie

 GHC Trac Issues: #10600, #8101

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

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


More information about the ghc-tickets mailing list