Skip to content

Commit b778d58

Browse files
committed
fix
1 parent 91869bc commit b778d58

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

script/parser/luadoc.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1669,7 +1669,9 @@ local function bindDocWithSource(doc, source)
16691669
if not source.bindDocs then
16701670
source.bindDocs = {}
16711671
end
1672-
source.bindDocs[#source.bindDocs+1] = doc
1672+
if source.bindDocs[#source.bindDocs] ~= doc then
1673+
source.bindDocs[#source.bindDocs+1] = doc
1674+
end
16731675
doc.bindSource = source
16741676
end
16751677

0 commit comments

Comments
 (0)