<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Malgun Gothic";
panose-1:2 11 5 3 2 0 0 2 0 4;}
@font-face
{font-family:DotumChe;
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Malgun Gothic";
panose-1:2 11 5 3 2 0 0 2 0 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
text-autospace:none;
word-break:break-hangul;
font-size:10.0pt;
font-family:"Malgun Gothic";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Malgun Gothic";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Malgun Gothic";}
/* Page Definitions */
@page WordSection1
{size:612.0pt 792.0pt;
margin:3.0cm 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=KO link=blue vlink=purple><div class=WordSection1><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US>Hi there, please look at this. This code occur “</span><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'>Assertion failure: '!vthis->csym' on line 713 in file 'glue.c”:<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'><o:p> </o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'>import std.algorithm;<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'><o:p> </o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'>class Node<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'>{<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'> Node _parent;<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'> Node[] _children;<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'> <o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'> this()<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'> {<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'> }<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'> <o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'> void addChild(Node child)<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'> {<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'> _children ~= child;<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'> }<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'> <o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'> void removeChild(Node child)<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'> {<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'> _children = remove!( (i){return i == child;} )(_children); // This line crashes!<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'> }<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'> <o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'>@property:<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'> Node parent() {return _parent;}<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'><o:p> </o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'> void parent(Node node) {_parent = node;}<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'><o:p> </o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'> Node[] children() {return _children;}<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'>}<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'><o:p> </o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'>I cannot understand error message..<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'><o:p> </o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'>What is the problem? Or how can I fix it?<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'><o:p> </o:p></span></p><p class=MsoNormal align=left style='text-align:left;word-break:keep-all'><span lang=EN-US style='font-size:9.0pt;font-family:DotumChe'>ps> There are not enough examples for std.container :(<o:p></o:p></span></p></div></body></html>