Unknown Symbol in Yesod Handler
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.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.0.3 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |