I'm getting an error with a brand new Snap project in development mode (using Snap 0.11.1 and GHC 7.6.2). I ran snap init and then edited the default Cabal file, just changing the name of the project and executable to snap-test and not touching anything else. Then:
$ cabal install -fdevelopment
no port specified, defaulting to port 8000
Listening on http://0.0.0.0:8000/
In response to any request, I get:
A web handler threw an exception. Details:
Not in scope: type constructor or class `AppConfig'
However, if I install without the -fdevelopment flag, it seems to work just fine.
Edit: It occurs to me that this ticket may belong under snapframework/snap-loader-dynamic instead of snapframework/snap-core. If that's the case, I can reopen it over there instead.
Fixed by 55d42a82cba97ddfb7b0c213d7ef08713e18207f in the snap repo. The fix will be in the next release.