<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="help?&gt; module
ERROR: syntax: incomplete: premature end of input

help?&gt; end
ERROR: syntax: extra token &quot;end&quot; after end of expression

help?&gt; let
ERROR: syntax: incomplete: premature end of input

help?&gt; fo&lt;tab&gt;&lt;tab&gt;
foldl foldr  for

help?&gt; for
ERROR: syntax: incomplete: premature end of input"><pre class="notranslate"><code class="notranslate">help?&gt; module
ERROR: syntax: incomplete: premature end of input

help?&gt; end
ERROR: syntax: extra token "end" after end of expression

help?&gt; let
ERROR: syntax: incomplete: premature end of input

help?&gt; fo&lt;tab&gt;&lt;tab&gt;
foldl foldr  for

help?&gt; for
ERROR: syntax: incomplete: premature end of input
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="a=rand(3,5)
b=(a,a)
b[1]===b[2] =&gt; true
c=deepcopy(b)
c[1]===c[2] =&gt; false"><pre class="notranslate"><code class="notranslate">a=rand(3,5)
b=(a,a)
b[1]===b[2] =&gt; true
c=deepcopy(b)
c[1]===c[2] =&gt; false
</code></pre></div>
<p dir="auto">To fix this issue, on line 59 of deepcopy.jl we can replace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="        return copy(x)"><pre class="notranslate"><code class="notranslate">        return copy(x)
</code></pre></div>
<p dir="auto">with</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="        return (stackdict[x]=copy(x))"><pre class="notranslate"><code class="notranslate">        return (stackdict[x]=copy(x))
</code></pre></div>