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

#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

#9776: -frule-check flag not recognized without parameter -------------------------------------+------------------------------------- Reporter: jstolarek | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Driver | Version: 7.9 Resolution: | 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: | -------------------------------------+------------------------------------- Comment (by jstolarek): As a side note: this is clearly a debugging flag. Perhaps we should change its name to `-ddump-rule-check`? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9776#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9776: -frule-check flag not recognized without parameter -------------------------------------+------------------------------------- Reporter: jstolarek | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Driver | Version: 7.9 Resolution: | Keywords: newcomer 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: | -------------------------------------+------------------------------------- Changes (by jstolarek): * keywords: => newcomer -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9776#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9776: -frule-check flag not recognized without parameter -------------------------------------+------------------------------------- Reporter: jstolarek | Owner: carlostome Type: bug | Status: new Priority: normal | Milestone: Component: Driver | Version: 7.9 Resolution: | Keywords: newcomer 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: | -------------------------------------+------------------------------------- Changes (by carlostome): * owner: => carlostome -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9776#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9776: -frule-check flag not recognized without parameter -------------------------------------+------------------------------------- Reporter: jstolarek | Owner: carlostome Type: bug | Status: new Priority: normal | Milestone: Component: Driver | Version: 7.9 Resolution: | Keywords: newcomer 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: T9776 | Related Tickets: Blocking: | Differential Revisions: Phab:D503 | -------------------------------------+------------------------------------- Changes (by carlostome): * testcase: => T9776 * differential: => Phab:D503 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9776#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9776: -frule-check flag not recognized without parameter -------------------------------------+------------------------------------- Reporter: jstolarek | Owner: carlostome Type: bug | Status: patch Priority: normal | Milestone: Component: Driver | Version: 7.9 Resolution: | Keywords: newcomer 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: T9776 | Related Tickets: Blocking: | Differential Revisions: Phab:D503 | -------------------------------------+------------------------------------- Changes (by carlostome): * status: new => patch -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9776#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9776: -frule-check flag not recognized without parameter
-------------------------------------+-------------------------------------
Reporter: jstolarek | Owner: carlostome
Type: bug | Status: patch
Priority: normal | Milestone:
Component: Driver | Version: 7.9
Resolution: | Keywords: newcomer
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: T9776 | Related Tickets:
Blocking: |
Differential Revisions: Phab:D503 |
-------------------------------------+-------------------------------------
Comment (by Austin Seipp

#9776: -frule-check flag not recognized without parameter -------------------------------------+------------------------------------- Reporter: jstolarek | Owner: carlostome Type: bug | Status: closed Priority: normal | Milestone: 7.10.1 Component: Driver | Version: 7.9 Resolution: fixed | Keywords: newcomer 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: T9776 | Related Tickets: Blocking: | Differential Revisions: Phab:D503 | -------------------------------------+------------------------------------- Changes (by thoughtpolice): * status: patch => closed * resolution: => fixed * milestone: => 7.10.1 Comment: Merged, thanks! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9776#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC