|
Re: [GHC] #906: "the `impossible' happened: Maybe.fromJust: Nothing" when u: msg#00117lang.haskell.glasgow.bugs
#906: "the `impossible' happened: Maybe.fromJust: Nothing" when using {-# SOURCE #-} ----------------------------------------------+----------------------------- Reporter: Misha Aizatulin <avatar@xxxxxx> | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 6.4.2 Severity: normal | Resolution: Keywords: | Os: Linux Difficulty: Unknown | Architecture: x86 ----------------------------------------------+----------------------------- Comment (by simonpj): We know what is going on here; module A is being compiled before A.hs- boot, so when the latter is compiled it overwrites the in-memory record of the object code of A. Solution: add edge from A.hs-boot to A.hs. This is a Good Thing anyway, because A.hs-boot should not depend on A.hs (i.e. adding the edge prevents another odd case). But adding the edge also means that A.hs-boot will never overwrite A.hs in the HPT. Guaranteeing such a message is a bit more work. See Task #914 -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/906> 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: | [GHC] #914: Improve detection of unnecessary SOURCE imports, GHC |
|---|---|
| Next by Date: | Re: [GHC] #914: Improve detection of unnecessary SOURCE imports, GHC |
| Previous by Thread: | [GHC] #906: "the `impossible' happened: Maybe.fromJust: Nothing" when using {-# SOURCE #-}, GHC |
| Next by Thread: | Re: [GHC] #906: "the `impossible' happened: Maybe.fromJust: Nothing" when using {-# SOURCE #-}, GHC |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |