Skip to content

Commit b4f69b1

Browse files
committed
Add extra example for getvalue
1 parent 5fa6a53 commit b4f69b1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/hasvalue.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ ERROR: getvalue: x[1][2] was not found in the values provided
9797
julia> getvalue(vals, @varname(x[2][1]))
9898
ERROR: getvalue: x[2][1] was not found in the values provided
9999
[...]
100+
101+
julia> getvalue(vals, @varname(x))
102+
ERROR: getvalue: x was not found in the values provided
103+
[...]
100104
```
101105
102106
Dictionaries can present ambiguous cases where the same variable is specified

0 commit comments

Comments
 (0)