[GHC] #10895: "no output will be generated" should be an error, not a warning.

GHC ghc-devs at haskell.org
Fri Sep 18 18:13:12 UTC 2015


#10895: "no output will be generated" should  be an error, not a warning.
-------------------------------------+-------------------------------------
        Reporter:  gershomb          |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.10.2
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Incorrect         |  Unknown/Multiple
  warning at compile-time            |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by rwbarton):

 Attempt to compile it how? Obviously `ghc Test` will not warn, and will
 just produce an object file. I guess you mean `ghc Test -o foo`?

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


More information about the ghc-tickets mailing list