<p dir="auto">I have noticed that running <code class="notranslate">Base.runtests(["core"])</code> fails, but running <code class="notranslate">make test-core</code> does not.  This is reproducible on linux x86_64 and macOS aarch64 on both latest <code class="notranslate">master</code> (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/JuliaLang/julia/commit/63f5b8a1654a77a91eccd619a665da5080ea6058/hovercard" href="https://github.com/JuliaLang/julia/commit/63f5b8a1654a77a91eccd619a665da5080ea6058"><tt>63f5b8a</tt></a> as of this writing) and <code class="notranslate">v1.7.0</code>, but not on anything earlier, like <code class="notranslate">1.6.4</code>.</p>
<p dir="auto">These three tests fail: </p><div class="Box Box--condensed my-2">
  <div class="Box-header f6">
    <p class="mb-0 text-bold">
      <a href="https://github.com/JuliaLang/julia/blob/63f5b8a1654a77a91eccd619a665da5080ea6058/test/core.jl#L3521-L3523">julia/test/core.jl</a>
    </p>
    <p class="mb-0 color-fg-muted">
        Lines 3521 to 3523
      in
      <a data-pjax="true" class="commit-tease-sha" href="/JuliaLang/julia/commit/63f5b8a1654a77a91eccd619a665da5080ea6058">63f5b8a</a>
    </p>
  </div>
  <div itemprop="text" class="Box-body p-0 blob-wrapper blob-wrapper-embedded data">
    <table class="highlight tab-size mb-0 js-file-line-container" data-tab-size="8" data-paste-markdown-skip="">

        <tbody><tr class="border-0">
          <td id="L3521" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="3521"></td>
          <td id="LC3521" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-c1">@test_throws</span> ErrorException Vararg{Int, N} <span class="pl-k">where</span> N<span class="pl-k">&lt;:</span><span class="pl-c1">T</span> <span class="pl-k">where</span> T </td>
        </tr>

        <tr class="border-0">
          <td id="L3522" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="3522"></td>
          <td id="LC3522" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-c1">@test_throws</span> ErrorException Vararg{Int, N} <span class="pl-k">where</span> N<span class="pl-k">&lt;:</span><span class="pl-c1">Integer</span> </td>
        </tr>

        <tr class="border-0">
          <td id="L3523" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="3523"></td>
          <td id="LC3523" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-c1">@test_throws</span> ErrorException Vararg{Int, N} <span class="pl-k">where</span> N<span class="pl-k">&gt;:</span><span class="pl-c1">Integer</span> </td>
        </tr>
    </tbody></table>
  </div>
</div>
<p></p>
<p dir="auto">Intriguingly, when input directly into the REPL of a new session, these statements do not cause a problem on 1.6.4 or 1.7, although they do give different answers:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ julia-1.7.0 -E 'Vararg{Int, N} where N&lt;:T where T'
Vararg{Int64}
$ julia-1.6.4 -E 'Vararg{Int, N} where N&lt;:T where T'
Vararg{Int64, N} where {T, N&lt;:T}"><pre class="notranslate"><code class="notranslate">$ julia-1.7.0 -E 'Vararg{Int, N} where N&lt;:T where T'
Vararg{Int64}
$ julia-1.6.4 -E 'Vararg{Int, N} where N&lt;:T where T'
Vararg{Int64, N} where {T, N&lt;:T}
</code></pre></div>
<p dir="auto">I'm not sure what changes occur to the running Julia session when running <code class="notranslate">make test-core</code>.  Is it expected that, at all times, these tests should cause errors?</p>
<p dir="auto">In Julia 1.5-rc1, recursive calls were easy to find in the stacktrace:</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; @noinline countdown(x = 10) = x == 0 ? error(&quot;hi&quot;) : countdown(x - 1)
countdown (generic function with 2 methods)

julia&gt; countdown()
ERROR: hi
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] countdown(::Int64) at ./REPL[1]:1 (repeats 12 times)
 [3] top-level scope at REPL[2]:1"><pre class="notranslate">julia<span class="pl-k">&gt;</span> <span class="pl-c1">@noinline</span> <span class="pl-en">countdown</span>(x <span class="pl-k">=</span> <span class="pl-c1">10</span>) <span class="pl-k">=</span> x <span class="pl-k">==</span> <span class="pl-c1">0</span> <span class="pl-k">?</span> <span class="pl-c1">error</span>(<span class="pl-s"><span class="pl-pds">"</span>hi<span class="pl-pds">"</span></span>) <span class="pl-k">:</span> <span class="pl-c1">countdown</span>(x <span class="pl-k">-</span> <span class="pl-c1">1</span>)
countdown (generic <span class="pl-k">function</span> with <span class="pl-c1">2</span> methods)

julia<span class="pl-k">&gt;</span> <span class="pl-c1">countdown</span>()
ERROR<span class="pl-k">:</span> hi
Stacktrace<span class="pl-k">:</span>
 [<span class="pl-c1">1</span>] <span class="pl-c1">error</span>(<span class="pl-k">::</span><span class="pl-c1">String</span>) at <span class="pl-k">./</span>error<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">33</span>
 [<span class="pl-c1">2</span>] <span class="pl-c1">countdown</span>(<span class="pl-k">::</span><span class="pl-c1">Int64</span>) at <span class="pl-k">./</span>REPL[<span class="pl-c1">1</span>]<span class="pl-k">:</span><span class="pl-c1">1</span> (repeats <span class="pl-c1">12</span> times)
 [<span class="pl-c1">3</span>] top<span class="pl-k">-</span>level scope at REPL[<span class="pl-c1">2</span>]<span class="pl-k">:</span><span class="pl-c1">1</span></pre></div>
<p dir="auto">See <code class="notranslate">(repeats 12 times)</code> in the above stacktrace.</p>
<p dir="auto">On the other hand, in Julia 1.6.0-DEV.503, there is no indication of recursive calls:</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; countdown()
ERROR: hi
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:33
 [2] countdown(x::Int64)
   @ Main ./REPL[69]:1
 [3] top-level scope
   @ REPL[70]:1"><pre class="notranslate">julia<span class="pl-k">&gt;</span> <span class="pl-c1">countdown</span>()
ERROR<span class="pl-k">:</span> hi
Stacktrace<span class="pl-k">:</span>
 [<span class="pl-c1">1</span>] <span class="pl-c1">error</span>(s<span class="pl-k">::</span><span class="pl-c1">String</span>)
   @ Base <span class="pl-k">./</span>error<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">33</span>
 [<span class="pl-c1">2</span>] <span class="pl-c1">countdown</span>(x<span class="pl-k">::</span><span class="pl-c1">Int64</span>)
   @ Main <span class="pl-k">./</span>REPL[<span class="pl-c1">69</span>]<span class="pl-k">:</span><span class="pl-c1">1</span>
 [<span class="pl-c1">3</span>] top<span class="pl-k">-</span>level scope
   @ REPL[<span class="pl-c1">70</span>]<span class="pl-k">:</span><span class="pl-c1">1</span></pre></div>
<p dir="auto">It'd be great if we can bring back something like <code class="notranslate">(repeats 12 times)</code> in the old stacktrace printing.</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jkrumbiegel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jkrumbiegel">@jkrumbiegel</a></p>