Skip to content

Commit 48ae466

Browse files
Merge pull request #34 from nsajko/not_implemented_method
delete useless "not implemented" methods
2 parents 4459f42 + ca2bf93 commit 48ae466

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/TermInterface.jl

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,7 @@ export metadata
105105
106106
Returns a `expr` with metadata `md` attached to it.
107107
"""
108-
function metadata(x, data)
109-
error("Setting metadata on $x is not implemented")
110-
end
108+
function metadata end
111109

112110

113111
"""
@@ -131,9 +129,7 @@ If your types do not support type information or metadata, you still need to acc
131129
these arguments and may choose to not use them.
132130
"""
133131

134-
function maketerm(T::Type, head, children, type=nothing, metadata=nothing)
135-
error("maketerm for $T is not implemented")
136-
end
132+
function maketerm end
137133
export maketerm
138134

139135
include("utils.jl")

0 commit comments

Comments
 (0)