#1012: ghc panic with mutually recursive modules and template haskell
----------------------------+-----------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone: _|_
Component: Compiler | Version: 6.6
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: TH_import_loop | Architecture: Multiple
Os: Multiple |
----------------------------+-----------------------------------------------
Comment (by simonmar):
This now gives a slightly improved error message, as a result of the fix
for #936:
{{{
[1 of 5] Compiling A[boot] ( A.hs-boot, nothing )
[2 of 5] Compiling C ( C.hs, C.o )
[3 of 5] Compiling B ( B.hs, B.o )
Loading package base ... linking ... done.
module main:A cannot be linked; it is only available as a boot module
}}}
Simon: please feel free to edit the error message if you can think of a
way to improve it (compiler/ghci/Linker.hs). Should we close this bug?
Perhaps document the shortcoming in the TH docs?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1012>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs