<div dir="ltr">And I should say, you might try a newer ghc, they fix things all the time. Stack is still on ghc 8.0.2, but newer snapshots are on 8.2.2.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 11, 2017 at 11:43 AM, David McBride <span dir="ltr"><<a href="mailto:toad3k@gmail.com" target="_blank">toad3k@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">It may be a bug in ghc. It may be a bug in stack. Not much you can do about it other than to report it.<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 11, 2017 at 11:39 AM, Baa <span dir="ltr"><<a href="mailto:aquagnu@gmail.com" target="_blank">aquagnu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello, List. I hit error:<br>
<br>
ghc: panic! (the 'impossible' happened)<br>
(GHC version 8.0.2 for x86_64-unknown-linux):<br>
initTc: unsolved constraints<br>
WC {wc_insol = [W] spec_a86e :: t_a86d[tau:1] (CHoleCan: spec)}<br>
<br>
Please report this as a GHC bug: <a href="http://www.haskell.org/ghc/reportabug" rel="noreferrer" target="_blank">http://www.haskell.org/ghc/rep<wbr>ortabug</a><br>
<br>
what does it mean and how to fix it?<br>
<br>
PS. I only added template Haskell "call" in my test suite like<br>
<br>
$(blahBlah something)<br>
<br>
The same call works fine in other modules and in GHCI. "stack build"<br>
works too, but tests - no (last stack 1.6.1)<br>
<br>
===<br>
Best regards, Paul<br>
______________________________<wbr>_________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org" target="_blank">Beginners@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bi<wbr>n/mailman/listinfo/beginners</a><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>