[GHC] #1155: ghci -debug generates slightly odd message
GHC
trac at galois.com
Mon Mar 12 10:19:07 EDT 2007
#1155: ghci -debug generates slightly odd message
----------------------------------------------+-----------------------------
Reporter: Stefan O'Rear <stefanor at cox.net> | Owner:
Type: bug | Status: new
Priority: lowest | Milestone: 6.6.2
Component: GHCi | Version: 6.6
Severity: trivial | Resolution:
Keywords: | Difficulty: Easy (1 hr)
Testcase: | Architecture: Unknown
Os: Unknown |
----------------------------------------------+-----------------------------
Changes (by igloo):
* milestone: => 6.6.2
Comment:
This comes from:
{{{
when (notNull (filter (/= WayThreaded) (wayNames dflags))
&& isInterpretiveMode cli_mode) $
do throwDyn (UsageError
"--interactive can't be used with -prof, -ticky, or
-unreg.")
}}}
We should really have a function to print out the flag of a way name so we
can just give the flag we have a problem with, but
I can't see how `WayUser_*` come into existence. Should they be removed?
Should they
be refactored into `WayUser Letter` or `WayUser Char`?
There's also the problem that -smp and -threaded both result in the same
flag. I guess we could make the string be "-threaded (or -smp)".
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1155>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list