Skip to content

Commit a742c5b

Browse files
consistent definition of similarterm
1 parent aef78e5 commit a742c5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TermInterface.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ and `metadata` as the metadata. By default this will execute `head(args...)`.
7878
`x` parameter can also be a `Type`.
7979
"""
8080
similarterm(x, head, args; type=nothing, metadata=nothing) = head(args...)
81-
similarterm(x::Type{Expr}, head, args, type; metadata=nothing) = Expr(head, args...)
81+
similarterm(x::Type{Expr}, head, args; type=nothing, metadata=nothing) = Expr(head, args...)
8282

8383
end # module
8484

0 commit comments

Comments
 (0)