From 54a3aabd296415fa0426c01833bf5b02366bf0bc Mon Sep 17 00:00:00 2001 From: Alessandro Date: Tue, 24 Aug 2021 14:47:44 +0200 Subject: [PATCH] fix typo bug --- Project.toml | 2 +- src/TermInterface.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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