diff --git a/src/varinfo.jl b/src/varinfo.jl index 90bfd74f7..61f2b051c 100644 --- a/src/varinfo.jl +++ b/src/varinfo.jl @@ -1098,7 +1098,9 @@ end function nested_setindex_maybe!(vi::UntypedVarInfo, val, vn::VarName) return _nested_setindex_maybe!(vi, getmetadata(vi, vn), val, vn) end -function nested_setindex_maybe!(vi::VarInfo{<:NamedTuple{names}}, val, vn::VarName{sym}) where {names,sym} +function nested_setindex_maybe!( + vi::VarInfo{<:NamedTuple{names}}, val, vn::VarName{sym} +) where {names,sym} return if sym in names _nested_setindex_maybe!(vi, getmetadata(vi, vn), val, vn) else