Skip to content

Commit

Permalink
Merge pull request #118 from oxinabox/patch-3
Browse files Browse the repository at this point in the history
don't print nothing
  • Loading branch information
MikeInnes authored Oct 24, 2019
2 parents 8387a21 + 4bc0f93 commit 829a861
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ all_params = [get(dict, :params, [])..., get(dict, :whereparams, [])...]
```
"""
function splitdef(fdef)
error_msg = "Not a function definition: $fdef"
error_msg = "Not a function definition: $(repr(fdef))"
@assert(@capture(longdef1(fdef),
function (fcall_ | fcall_) body_ end),
"Not a function definition: $fdef")
Expand All @@ -303,7 +303,6 @@ function splitdef(fdef)
di
end


"""
combinedef(dict::Dict)
Expand Down

0 comments on commit 829a861

Please sign in to comment.