<p dir="auto">James Cook of slack came up with an interesting problem of inference:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="function foo(scale)
    output(x) = scale + x
    output(::Float64) = output(&quot;&quot;)
    return output
end

bar(x) = foo(5)(x)
baz = foo(5)"><pre class="notranslate"><code class="notranslate">function foo(scale)
    output(x) = scale + x
    output(::Float64) = output("")
    return output
end

bar(x) = foo(5)(x)
baz = foo(5)
</code></pre></div>
<p dir="auto">Here, <code class="notranslate">bar(3)</code> is inferred to <code class="notranslate">Any</code>, but <code class="notranslate">baz(3)</code> is correctly inferred. Is there any reason for this? Shouldn't both be inferred completely?</p>
<p dir="auto">I just built live 0.4 under 64 bit Windows.  The build ended successfully, but the result in /usr didn't contain the Git folder as in the windows 0.3 version from the installer.  I don't have git on my path and doing things like <code class="notranslate">Pkg.status</code> or <code class="notranslate">readall(</code>git --version<code class="notranslate">)</code> would throw an error.  I copied over the Git folder from 0.3.10 and it's now working fine.</p>
<p dir="auto">Is this intentional or was something left out?  If the former, perhaps we should mention this in the build instructions <a href="https://github.com/JuliaLang/julia/blob/master/README.windows.md#compiling-with-mingwmsys2">here</a>.</p>