[web-devel] yesod 0.8 , ghc , panic

Anton Cheshkov acheshkov at gmail.com
Mon Apr 25 20:41:44 CEST 2011


Hi all.

I decided to try the new version of yesod 0.8 and have been disappointed.
I created the scaffolded site and  typed *yesod devel. *
I was happy. Next  I wrote first Handler and ran *yesod devel *again

I have been got:

*Registering test-0.0.0...*
*yesod: /home/anton/.cabal/lib/test-0.0.0/ghc-7.0.3/HStest-0.0.0.o: unknown
symbol `__stginit_testzm0zi0zi0_HandlerziOrders_'*
*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*
*
*
*Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug*
*
*
*
*
If remove the handler *import* line from *Controller.hs* filr this problem
disappeared.
*
*
Have anyone seen it before ?
How do i get around this problem.

Thanks.

-- 
Best regards,
Cheshkov Anton
Phone: +7 909 005 18 82
Skype: cheshkov_anton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/web-devel/attachments/20110426/fe530d8d/attachment.htm>


More information about the web-devel mailing list