<div dir="ltr">I left the "instanceD" functions as is, and added a new function `instanceWithOverlapD` to avoid that problem:<div><br></div><div><div>instanceD :: CxtQ -> TypeQ -> [DecQ] -> DecQ</div><div>instanceWithOverlapD :: Maybe Overlap -> CxtQ -> TypeQ -> [DecQ] -> DecQ</div></div><div><br></div><div>The patch is here btw:</div><div><br></div><div><a href="https://phabricator.haskell.org/D2118">https://phabricator.haskell.org/D2118</a><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 15, 2016 at 7:14 AM, Ryan Scott <span dir="ltr"><<a href="mailto:ryan.gl.scott@gmail.com" target="_blank">ryan.gl.scott@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> I've done a quick grep for InstanceD over the stackage-nightly-subset of Hackage:<br>
<br>
</span>Wouldn't we also need to check for the instanceD function from<br>
Language.Haskell.TH.Lib as well? I know several of my packages use<br>
that exclusively over the InstanceD constructor, and I imagine others<br>
do as well.<br>
<br>
Ryan S.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Libraries mailing list<br>
<a href="mailto:Libraries@haskell.org">Libraries@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries</a><br>
</div></div></blockquote></div><br></div>