Skip to content

Commit 78dfcb0

Browse files
shashiadamslc
andauthored
Update src/types.jl
Co-authored-by: Luke Adams <[email protected]>
1 parent 2fad97b commit 78dfcb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Get all the metadata of a term or `nothing` if no metadata is defined.
6262
6363
"""
6464
metadata(s::Symbolic) = s.metadata
65-
metadata(s::Any) = x
65+
metadata(s::Any) = nothing
6666

6767
function hasmetadata(s::Symbolic, ctx)
6868
metadata(s) isa AbstractDict && haskey(metadata(s), ctx)

0 commit comments

Comments
 (0)