[GHC] #9776: -frule-check flag not recognized without parameter

GHC ghc-devs at haskell.org
Thu Nov 6 09:47:42 UTC 2014


#9776: -frule-check flag not recognized without parameter
-------------------------------------+-------------------------------------
       Reporter:  jstolarek          |                   Owner:
           Type:  bug                |                  Status:  new
       Priority:  normal             |               Milestone:
      Component:  Driver             |                 Version:  7.9
       Keywords:                     |        Operating System:
   Architecture:  Unknown/Multiple   |  Unknown/Multiple
     Difficulty:  Moderate (less     |         Type of failure:  Incorrect
  than a day)                        |  warning at compile-time
     Blocked By:                     |               Test Case:
Related Tickets:                     |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
 {{{
 $ ghc Foo.hs -frule-check
 ghc: on the commandline: unrecognised flag: -frule-check
 Usage: For basic information, try the `--help' option.
 }}}

 That error message is confusing. `-frule-check` is a valid flag, it's just
 being used incorrectly. It should be followed by a parameter:

 {{{
 $ ghc Foo.hs -frule-check ruleFoo
 }}}

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


More information about the ghc-tickets mailing list