Skip to content
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

Module ‘Servant.Foreign’ does not export ‘header' #35

Open
k-bx opened this issue Mar 18, 2019 · 0 comments
Open

Module ‘Servant.Foreign’ does not export ‘header' #35

k-bx opened this issue Mar 18, 2019 · 0 comments

Comments

@k-bx
Copy link

k-bx commented Mar 18, 2019

Running cabal new-build fails with:

Building library for servant-js-0.9.4..
[1 of 6] Compiling Servant.JS.Internal ( src/Servant/JS/Internal.hs, /home/kb/workspace/servant-js/dist-newstyle/build/x86_64-linux/ghc-8.6.4/servant-js-0.9.4/build/Servant/JS/Internal.o )
[2 of 6] Compiling Servant.JS.Axios ( src/Servant/JS/Axios.hs, /home/kb/workspace/servant-js/dist-newstyle/build/x86_64-linux/ghc-8.6.4/servant-js-0.9.4/build/Servant/JS/Axios.o )
[3 of 6] Compiling Servant.JS.Angular ( src/Servant/JS/Angular.hs, /home/kb/workspace/servant-js/dist-newstyle/build/x86_64-linux/ghc-8.6.4/servant-js-0.9.4/build/Servant/JS/Angular.o )
[4 of 6] Compiling Servant.JS.JQuery ( src/Servant/JS/JQuery.hs, /home/kb/workspace/servant-js/dist-newstyle/build/x86_64-linux/ghc-8.6.4/servant-js-0.9.4/build/Servant/JS/JQuery.o )
[5 of 6] Compiling Servant.JS.Vanilla ( src/Servant/JS/Vanilla.hs, /home/kb/workspace/servant-js/dist-newstyle/build/x86_64-linux/ghc-8.6.4/servant-js-0.9.4/build/Servant/JS/Vanilla.o )

src/Servant/JS/Vanilla.hs:12:1: warning: [-Wdodgy-imports]
    Module ‘Servant.Foreign’ does not export ‘header’
   |
12 | import           Servant.Foreign hiding (header)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[6 of 6] Compiling Servant.JS       ( src/Servant/JS.hs, /home/kb/workspace/servant-js/dist-newstyle/build/x86_64-linux/ghc-8.6.4/servant-js-0.9.4/build/Servant/JS.o )
k-bx added a commit to k-bx/servant-js that referenced this issue Mar 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant