|
Re: [GHC] #852: Browsing a module in ghci can cause a panic: msg#00155lang.haskell.glasgow.bugs
#852: Browsing a module in ghci can cause a panic ----------------------------------+----------------------------------------- Reporter: mnislaih | Owner: Type: bug | Status: closed Priority: normal | Milestone: 6.6 Component: Driver | Version: 6.5 Severity: normal | Resolution: fixed Keywords: ghci module package | Os: MacOS X Difficulty: Easy (1 hr) | Architecture: x86 ----------------------------------+----------------------------------------- Changes (by simonmar): * resolution: => fixed * status: new => closed Comment: This no longer crashes: {{{ *Test.Test2> :b Test2 module main:Test2 is not loaded }}} The problem here is that the file {{{Test2.hs}}} contains the wrong module name. GHC is confused: you asked to browse a module called Test2, and it found a file that should contain it, but it knows that the current session does not contain a module called {{{Test2}}} so it refuses to browse it. The error message is slightly cryptic but I don't see an easy way to improve it. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/852> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler_______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@xxxxxxxxxxx http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [GHC] #798: Ix{Int}.index: Index (402849792) out of range ((0, 100)), GHC |
|---|---|
| Next by Date: | [GHC] #874: SEGFAULT in stg_ap_ppp_info(), GHC |
| Previous by Thread: | Re: [GHC] #852: Browsing a module in ghci can cause a panic, GHC |
| Next by Thread: | Re: posix, POpen, ghc 6.5, Frederik Eaton |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |