[GHC] #10283: Make it possible to suppress warnings produced by -fdefer-type-errors

GHC ghc-devs at haskell.org
Fri Apr 10 12:15:09 UTC 2015


#10283: Make it possible to suppress warnings produced by -fdefer-type-errors
-------------------------------------+-------------------------------------
        Reporter:  adamgundry        |                   Owner:
            Type:  feature request   |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler (Type    |                 Version:  7.10.1
  checker)                           |                Keywords:
      Resolution:                    |            Architecture:
Operating System:  Unknown/Multiple  |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by goldfire):

 What a wonderful application of deferred type errors. I've wanted this
 ability for some time, but never thought of doing it this way.

 Yes, please, let's have `-fno-warn-deferred-type-errors`!

 What would be even better is to be able to enable deferred type errors
 only over certain regions of a program. After all, I wouldn't want a type
 error in my testing harness code. But that's a story for another day, I
 suppose.

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


More information about the ghc-tickets mailing list