<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 15, 2014 at 6:03 PM, Vadim Radionov <span dir="ltr"><<a href="mailto:vadim.radionov@gmail.com" target="_blank">vadim.radionov@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">Dear all, <div><br></div><div>My colleague found a bug in Metapost 1.803 which I would lile to report. In the following minimal example, showdependencies shows something inappropriate, which gives "This can't happen (dep)" error later. But if I move the third s-relation after setting z[4,6,8], everything works fine.</div>
<div><br></div><div>Vadim<br></div><div><br></div><div>def s(expr A,B,C,D)=<br></div><div><div>D-C=B-A=((B-D) rotated 90)</div><div>enddef;</div><div><br></div><div>beginfig(1);</div><div>s(z3,z4,z7,z8);</div><div>s(z4,z5,z6,z11);</div>
<div>s(z6,z12,z8,z10);</div><div><br></div><div>showdependencies;</div><div><br></div><div>z4 = (0,0);</div><div>z6 = (1cm,0);</div><div>z8 = (0,1cm);</div><div><br></div><div><br></div><div>endfig;</div><div>bye</div></div>
</div>
<br>--<br>
<a href="http://tug.org/metapost/" target="_blank">http://tug.org/metapost/</a><br></blockquote></div><br>Thank you for the report.</div><div class="gmail_extra">I'm in the middle of something else now, I will check it asap.<br clear="all">
<div><br></div>-- <br>luigi<br>
</div></div>