Skip to content

Commit 103d77b

Browse files
committed
cleanup
1 parent 3996e19 commit 103d77b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

script/parser/luadoc.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1313,7 +1313,8 @@ local function isNextLine(binded, doc)
13131313
return false
13141314
end
13151315
local lastDoc = binded[#binded]
1316-
if lastDoc.type == 'doc.type' then
1316+
if lastDoc.type == 'doc.type'
1317+
or lastDoc.type == 'doc.module' then
13171318
return false
13181319
end
13191320
if lastDoc.type == 'doc.class'

script/vm/local-id.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ function m.compileLocalID(source)
137137
end
138138

139139
---@param source parser.object
140-
---@return string|boolean
140+
---@return string?
141141
function m.getID(source)
142142
if source._localID ~= nil then
143143
return source._localID

0 commit comments

Comments
 (0)