<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Courier New;color: #000000;font-size: 12pt;">
<br>
In case it is important, Metapost 1.902 (TeX Live 2014) <br>
has the same behavior.<br>
<div><br>
Dan<br>
<br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px"><font face="Courier New" size="3">Daniel H. Luecking<br>
Department of Mathematical Sciences<br>
University of Arkansas<br>
Fayetteville, Arkansas</font><br>
</div>
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF958504"><font color="#000000" face="Tahoma" size="2"><b>From:</b> metapost [metapost-bounces@tug.org] on behalf of Vadim Radionov [vadim.radionov@gmail.com]<br>
<b>Sent:</b> Tuesday, July 15, 2014 11:03 AM<br>
<b>To:</b> metapost@tug.org<br>
<b>Subject:</b> [metapost] dependencies bug<br>
</font><br>
</div>
<div></div>
<div>
<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>
</div>
</div>
</div>
</body>
</html>