We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9c9a171 + be40d84 commit 397df84Copy full SHA for 397df84
changelog.md
@@ -2,6 +2,7 @@
2
3
## Unreleased
4
<!-- Add all new changes here. They will be moved under a version at release -->
5
+* `FIX` Comparison crash in doc export CLI [#3111](https://github.com/LuaLS/lua-language-server/issues/3111)
6
7
## 3.16.0
8
`2025-12-2`
script/cli/doc/export.lua
@@ -72,11 +72,11 @@ function export.positionOf(rowcol)
72
end
73
74
function export.sortDoc(a,b)
75
- if a.name ~= b.name then
+ if a.name and b.name and a.name ~= b.name then
76
return a.name < b.name
77
78
79
- if a.file ~= b.file then
+ if a.file and b.file and a.file ~= b.file then
80
return a.file < b.file
81
82
0 commit comments