Skip to content

Commit 8dc53d8

Browse files
penelopeysmmhauru
andauthored
Update src/hasvalue.jl
Co-authored-by: Markus Hauru <[email protected]>
1 parent ecf0eac commit 8dc53d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hasvalue.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ function getvalue(vals::NamedTuple, vn::VarName{sym}) where {sym}
134134
error("getvalue: $(vn) was not found in the values provided")
135135
end
136136
end
137+
137138
# For the Dict case, it is more complicated. There are two cases:
138139
# 1. `vn` itself is already a key of `vals` (the easy case)
139140
# 2. `vn` is not a key of `vals`, but some parent of `vn` is a key of `vals`

0 commit comments

Comments
 (0)