Panic in ghci name suggestion
|Reported by:||judahj||Owned by:||simonmar|
|Type of failure:||None/Unknown||Difficulty:|
|Test Case:||Blocked By:|
From a plain invocation of ghci:
$ ghci GHCi, version 7.2.1: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Loading package ffi-1.0 ... linking ... done. Prelude> 2 2 Prelude> fit <interactive>:0:1:ghc: panic! (the 'impossible' happened) (GHC version 7.2.1 for x86_64-apple-darwin): unknownNameSuggestErr UnhelpfulSpan Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug Prelude>
Presumably, ghci wants to suggest the it variable but is getting confused because that variable wasn't defined in a source file.
Note that this doesn't actually crash ghci; the prompt resumes as normal after the error message is printed out.
Change History (4)
comment:1 Changed 3 years ago by simonmar
- Component changed from Compiler to GHCi
- Milestone set to 7.4.1
- Owner set to simonmar
- Priority changed from normal to high