Skip to content

ghci gets into weird state if loading a module with a bad LANGUAGE pragma

Try loading a module like this into ghci:

{-# LANGUAGE BreakMe #-}

This gets ghci into an odd wedged state, with a strange prompt, in which Prelude is not available.

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