Skip to content

Poor error message for unrecognised flag in GHCi's :set

Prelude> :set -wibble
ghc: <no location info>: -wibble
Usage: For basic information, try the `--help' option.
Prelude> 

There's no error message, just a non-existent location, and the Usage part is confusing and unhelpful.

Trac metadata
Trac field Value
Version 6.12.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information