Skip to content

Commit

Permalink
Merge pull request #13386 from MichaelHatherly/mh/typesummary-fix
Browse files Browse the repository at this point in the history
Fix error in type summaries
  • Loading branch information
hayd committed Sep 30, 2015
2 parents 28e854b + 5947f3c commit 1ed51ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion base/docs/Docs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ end
doc(f::Base.Callable, args::Any...) = doc(f, Tuple{args...})

function typesummary(T::DataType)
parts = [
parts = UTF8String[
"""
**Summary:**
```julia
Expand Down
3 changes: 3 additions & 0 deletions test/docs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,9 @@ end

@test isdefined(MacroGenerated, :_g)

# Issue #13385.
@test @doc(I) !== nothing

# Issue #12700.
@test @doc(DocsTest.@m) == doc"Inner.@m"

Expand Down

0 comments on commit 1ed51ea

Please sign in to comment.