https://github.com/JuliaLang/julia/pull/6100