<div dir="ltr">Hi,<div><br></div><div>yes, this looks like a bug.  Could you please file a report on the bug-tracker?</div><div><br></div><div>-Iavor</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 27, 2016 at 9:43 AM, Magesh B <span dir="ltr"><<a href="mailto:magesh85@gmail.com" target="_blank">magesh85@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"><div>Hello,</div><div><br></div><div>I have partial type function which is invoked by another type function.</div><div>When the inner type function fails with TypeError, outer type function is not been able to propagate that type error to its caller.</div><div>As a result of it, I'm getting following error</div><div>  • No instance for (KnownSymbol (NestedPartialTF (TypeError ...)))</div><div> instead of</div><div>  • Unexpected type @ NestedPartialTF: Char</div><div><br></div><div>Is this a bug? This behavior seems bit counter-intuitive as to work around, I had to write another (duplicate) type function at the top level to get the desired type error</div><div><br></div><div>I'm using GHC-8 RC 3 and have attached complete src for reference.</div><div><br></div><div>Regards,</div><div>Magesh B</div></div>
<br>_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br>
<br></blockquote></div><br></div>