diff --git a/Project.toml b/Project.toml index 5c22065..405677a 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "TermInterface" uuid = "8ea1fca8-c5ef-4a55-8b96-4e9afe9c9a3c" authors = ["Shashi Gowda ", "Alessandro Cheli "] -version = "0.1.2" +version = "0.1.3" [compat] julia = "1" diff --git a/src/TermInterface.jl b/src/TermInterface.jl index 1195fb0..84a37cb 100644 --- a/src/TermInterface.jl +++ b/src/TermInterface.jl @@ -91,7 +91,7 @@ and `metadata` as the metadata. By default this will execute `head(args...)`. `x` parameter can also be a `Type`. """ similarterm(x, head, args, symtype=nothing; metadata=nothing) = - similarterm(typeof(x), head, args, type; metadata=nothing) + similarterm(typeof(x), head, args, symtype; metadata=nothing) similarterm(x::Type{Expr}, head, args, symtype=nothing; metadata=nothing) = Expr(head, args...) function similarterm(x::Type{T}, head::T, args, symtype=nothing; metadata=nothing) where T