From 8241cb3cbafacaf8d3f8c66cb8fa22b57b88007e Mon Sep 17 00:00:00 2001 From: Kristoffer Carlsson Date: Wed, 30 May 2018 10:08:07 +0200 Subject: [PATCH] loading should swap state even if state == :deps (#27307) --- base/loading.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/base/loading.jl b/base/loading.jl index 32a61bcbec7ae..1c73e690b17e6 100644 --- a/base/loading.jl +++ b/base/loading.jl @@ -503,7 +503,8 @@ function explicit_project_deps_get(project_file::String, name::String)::Union{Bo if (m = match(re_key_to_string, line)) != nothing m.captures[1] == name && return UUID(m.captures[2]) end - elseif occursin(re_section, line) + end + if occursin(re_section, line) state = occursin(re_section_deps, line) ? :deps : :other end end