#5157: Unknown Symbol in Yesod Handler
-----------------------+----------------------------------------------------
Reporter: Scan | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.0.3 | Keywords:
Testcase: | Blockedby:
Os: Linux | Blocking:
Architecture: x86 | Failure: Runtime crash
-----------------------+----------------------------------------------------
I was just trying to fire up my newly written Handler, fired the routing
up, and suddenly ghc told me this:
{{{
yesod: /home/scan/.cabal/lib/hraid-0.0.0/ghc-7.0.3/HShraid-0.0.0.o:
unknown symbol `hraidzm0zi0zi0_HandlerziCharacter_getCharNewR2_closure'
yesod: panic! (the 'impossible' happened)
(GHC version 7.0.3 for i386-unknown-linux):
System/Plugins.hs:(84,14)-(86,29): Non-exhaustive patterns in
lambda
}}}
I completely re-compiled the app and everything. The function getCharNewR
exists. The app is a completely new project on a fresh, self-compiled GHC
and yesod 0.8, and before I added that route, it worked fine.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5157>
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