#1155: ghci -debug generates slightly odd message
----------------------------------------------+-----------------------------
Reporter: Stefan O'Rear <[EMAIL PROTECTED]> | 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_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs