Skip to content

Commit bc854f5

Browse files
committed
address @tlienart comment: _extend!(program) should return nothing
1 parent cf08e71 commit bc854f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/metadata_utils.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ function _extend!(program::Expr, trait::Symbol, value, T)
6161
push!(program.args, quote
6262
MLJModelInterface.$trait(::Type{<:$T}) = $value
6363
end)
64+
return nothing
6465
end
6566
end
6667

0 commit comments

Comments
 (0)