Skip to content

Commit f8e5a1a

Browse files
authored
don't print nothing
1 parent 84a7e9b commit f8e5a1a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/utils.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,8 @@ function splitdef(fdef)
303303
di
304304
end
305305

306+
splitdef(::Nothing) = @assert(false, "Not a function definition: nothing")
307+
306308

307309
"""
308310
combinedef(dict::Dict)

0 commit comments

Comments
 (0)