Open cscalfani opened 5 years ago
What operating system and GHC version? There is a problem with TH on windows with GHC 8.6.3, please confirm whether this is a different issue.
And ideally provide a reproducable project that shows up the problem.
I'm not using Windows. I'm using OSX (High Sierra). I'm using GHC 8.2.2 and Stack 1.9.3.
I've tried for the last hour to create a simple example that has the problem with no luck.
My original project is a Yesod project and so I created a simple Yesod project and tried it TH there but couldn't reproduce the problem.
I tried deleting my .stack-work
and rebuilding my original app but still has the problem.
Is there any other cache that I may need to delete? Turns out this project used to be used with ghc-mod whereas the newer test projects have not.
The following code:
produces the following error:
Commenting out the Template Haskell no longer produces the error.
I have similar errors in other TH that I'm using.
I'm using Atom if that matters.