Skip to content

Commit 829a861

Browse files
authored
Merge pull request #118 from oxinabox/patch-3
don't print nothing
2 parents 8387a21 + 4bc0f93 commit 829a861

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/utils.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ all_params = [get(dict, :params, [])..., get(dict, :whereparams, [])...]
284284
```
285285
"""
286286
function splitdef(fdef)
287-
error_msg = "Not a function definition: $fdef"
287+
error_msg = "Not a function definition: $(repr(fdef))"
288288
@assert(@capture(longdef1(fdef),
289289
function (fcall_ | fcall_) body_ end),
290290
"Not a function definition: $fdef")
@@ -303,7 +303,6 @@ function splitdef(fdef)
303303
di
304304
end
305305

306-
307306
"""
308307
combinedef(dict::Dict)
309308

0 commit comments

Comments
 (0)