Skip to content

ghc-iserv pattern match failure with no command line arguments

While trying to debug the issue in #11981 (closed)##12491 (closed) I found that that ghc-iserv executable run without any arguments fails with a pattern match failure:

$ inplace/lib/bin/ghc-iserv
ghc-iserv: user error (Pattern match failure in do expression at
    iserv/src/Main.hs:28:3-18)

Would be far nicer if it printed out an error message saying what arguments it expected, or how to run it to avoid this pattern match failure.

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