<div dir="ltr">Here better example to see problem:<div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>| t d |</div></div><div><div>[ t := 'test'.</div></div><div><div>d := 'test2' ] value.</div></div><div><div>t.</div></div><div><div>^ d halt</div></div></blockquote><div><br></div><div>Stack top here will show #('test' test2') which is completely confusing</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-11 11:45 GMT+02:00 Denis Kudriashov <span dir="ltr"><<a href="mailto:dionisiydk@gmail.com" target="_blank">dionisiydk@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi.<div><br></div><div>Try to debug following script:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>| t |</div></div><div><div>[ t := 'test' ] value.</div></div><div><div>^ t halt</div></div></blockquote><div><br></div><div>You will see in debugger #('test') as stack top value. Why it is not 'test'?</div><div>I understand that hidden arrays used for variables which are used in closures. But why "context top" in that cases points to vector instead of variable value?</div><div><br></div><div>Best regards,</div><div>Denis</div></div>
</blockquote></div><br></div>