[GHC] #13713: fdefer-type-errors makes missing import errors disappear

GHC ghc-devs at haskell.org
Thu May 18 10:06:10 UTC 2017


#13713: fdefer-type-errors makes missing import errors disappear
-------------------------------------+-------------------------------------
        Reporter:  nh2               |                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:  #12529            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by vanto):

 It would seem logical that all the errors are reported if the flag
 {{{fdefer-type-errors}}} is active and the errors must be mentioned before
 the warning because they are superior to them without the flag or with the
 flag.\\
 1 - Show all errors , and after correction\\
 2 - Show warnings

 If an error can not be deffered, it must be reported first.

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


More information about the ghc-tickets mailing list