[GHC] #9823: --show-iface panics with HEAD

GHC ghc-devs at haskell.org
Fri Mar 13 19:25:58 UTC 2015


#9823: --show-iface panics with HEAD
-------------------------------------+-------------------------------------
        Reporter:  jstolarek         |                   Owner:
            Type:  bug               |                  Status:  closed
        Priority:  normal            |               Milestone:  7.12.1
       Component:  Driver            |                 Version:  7.9
      Resolution:  duplicate         |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  GHC doesn't work  |  Unknown/Multiple
  at all                             |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:  #9963             |  Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by thomie):

 * status:  new => closed
 * resolution:   => duplicate
 * related:  #9799 => #9963


Comment:

 Closing this as a duplicate of #9963, for which I have a fix.

 '--show-iface' is a mode flag, just like '--interactive' and '-e', and all
 usages of invalid (combinations of) mode flag(s) currently panic in HEAD.

 Note that the filename should come after the flag, and the error is:
 {{{
 $ ghc-7.8.4 T9963.hi --show-iface
 ghc: on the commandline: missing argument for flag: --show-iface
 Usage: For basic information, try the `--help' option.
 }}}

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


More information about the ghc-tickets mailing list