-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass on development flag #11
Comments
Just for testing purposes, can you tell me what version of ghc, Cabal (the library) and cabal (the binary) you have installed? |
7.8.4, 1.20.0.0, 1.20.0.3 |
It works in the repl, but not when I |
I have the same problem - i have composed a snap project to find the bug - maybe it is helpful https://github.com/epsilonhalbe/tmp, while the flags are present in the main module, you can see that in the site module they are missing. I named the flags prd and dev for this is where I want to use them in the end. The ghc/cabal versions are 7.10.2 and 1.22.4 Cabal/1.22.6 cabal-install, i also included a stack.yaml so the build is (better) reproducible. |
Something about the loading means that the CPP
DEVELOPMENT
flag doesn't get passed on to the file that is dynamically loaded, so any#ifdef DEVELOPMENT
blocks are not properly discriminated.The text was updated successfully, but these errors were encountered: