Skip to content

Commit a21c8f1

Browse files
author
Alessandro
committed
fixed similarterm
1 parent 88dc9f0 commit a21c8f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/TermInterface.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ and `metadata` as the metadata. By default this will execute `head(args...)`.
9191
`x` parameter can also be a `Type`.
9292
"""
9393
similarterm(x, head, args, symtype=nothing; metadata=nothing) =
94-
similarterm(typeof(x), head, args, symtype; metadata=nothing)
94+
similarterm(typeof(x), head, args, symtype; metadata=metadata)
9595

9696
similarterm(x, head, args; metadata=nothing) =
97-
similarterm(typeof(x), head, args; metadata=nothing)
97+
similarterm(typeof(x), head, args; metadata=metadata)
9898

9999

100100
similarterm(x::Type{Expr}, head, args, symtype=nothing; metadata=nothing) = Expr(head, args...)

0 commit comments

Comments
 (0)