Skip to content

Commit 0dbe816

Browse files
committed
remove outdated comment
1 parent 3892841 commit 0dbe816

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/abbreviations.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,6 @@ function format(abbrv::TypeFields, buf, doc)
9696
local docs = get(doc.data, :fields, Dict())
9797
local binding = doc.data[:binding]
9898
local object = Docs.resolve(binding)
99-
# On 0.7 fieldnames() on an abstract type throws an error. We then explicitly return
100-
# an empty vector to be consistent with the behaviour on v0.6.
10199
local fields = isabstracttype(object) ? Symbol[] : fieldnames(object)
102100
if !isempty(fields)
103101
println(buf)

0 commit comments

Comments
 (0)