<div dir="ltr">It is all detailed in the error message.  <a href="http://www.haskell.org/ghc/reportabug">http://www.haskell.org/ghc/reportabug</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 11, 2017 at 12:15 PM, 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, David.<br>
Something new :) So,<br>
<br>
1. How to report such bug?<br>
2. How to upgrade to 8.2.2 and to new LTS?<br>
I tried to change "resolve: lts-XX" to "resolve: ghc-8.2.2" in<br>
stack.yaml but hit many errors.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
> And I should say, you might try a newer ghc, they fix things all the<br>
> time. Stack is still on ghc 8.0.2, but newer snapshots are on 8.2.2.<br>
><br>
> On Mon, Dec 11, 2017 at 11:43 AM, David McBride <<a href="mailto:toad3k@gmail.com">toad3k@gmail.com</a>><br>
> wrote:<br>
><br>
> > It may be a bug in ghc.  It may be a bug in stack.  Not much you<br>
> > can do about it other than to report it.<br>
> ><br>
> > On Mon, Dec 11, 2017 at 11:39 AM, Baa <<a href="mailto:aquagnu@gmail.com">aquagnu@gmail.com</a>> wrote:<br>
> ><br>
> >> 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:<br>
> >> spec)}<br>
> >><br>
> >>     Please report this as a GHC bug:<br>
> >> <a href="http://www.haskell.org/ghc/rep" rel="noreferrer" target="_blank">http://www.haskell.org/ghc/rep</a> ortabug<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<br>
> >> build" 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">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-<wbr>bin/mailman/listinfo/beginners</a><br>
> >><br>
> ><br>
> ><br>
<br>
______________________________<wbr>_________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org">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-<wbr>bin/mailman/listinfo/beginners</a><br>
</div></div></blockquote></div><br></div>