GHCi bug on too long input lines
This is probably a very strange thing to do, but when you put a really, really, really long line (mine was about 59000 characters long) in a file and try to load the module in ghci, you get an error message:
ghc-6.8.2: panic! (the 'impossible' happened)
(GHC version 6.8.2 for i386-unknown-linux):
linkBCO: >= 64k insns in BCO
The same thing happens when you paste a really long line in the terminal in an interactive GHCi shell.
The bug seems to only affect ghci; the module compiles without problems with ghc.
I'm using the GHC version from Debian Squeeze.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.8.2 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | GHCi |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |