Skip to content

Commit b08c2e2

Browse files
Update src/contexts.jl
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 92fbf69 commit b08c2e2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/contexts.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,9 @@ end
276276

277277
# TODO(penelopeysm): Prefixing arguably occurs the wrong way round here
278278
function prefix(ctx::PrefixContext{Prefix}, vn::VarName{Sym}) where {Prefix,Sym}
279-
prefix(childcontext(ctx), VarName{Symbol(Prefix, PREFIX_SEPARATOR, Sym)}(getoptic(vn)))
279+
return prefix(
280+
childcontext(ctx), VarName{Symbol(Prefix, PREFIX_SEPARATOR, Sym)}(getoptic(vn))
281+
)
280282
end
281283
prefix(ctx::AbstractContext, vn::VarName) = prefix(NodeTrait(ctx), ctx, vn)
282284
prefix(::IsLeaf, ::AbstractContext, vn::VarName) = vn

0 commit comments

Comments
 (0)