diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/src/core/references.lua | 3 | ||||
-rw-r--r-- | server/src/core/rename.lua | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/server/src/core/references.lua b/server/src/core/references.lua index f4aec8ca..f49ebbfc 100644 --- a/server/src/core/references.lua +++ b/server/src/core/references.lua @@ -21,9 +21,6 @@ local function parseResult(result, declarat) positions[#positions+1] = {info.source.start, info.source.finish} end end - elseif tp == 'string' then - else - error('Unknow result type:' .. result.type) end return positions end diff --git a/server/src/core/rename.lua b/server/src/core/rename.lua index f42da08b..655c1b9a 100644 --- a/server/src/core/rename.lua +++ b/server/src/core/rename.lua @@ -35,8 +35,6 @@ local function parseResult(result, source, newName) for _, info in ipairs(label) do positions[#positions+1] = {info.source.start, info.source.finish} end - else - error('Unknow result type:' .. result.type) end return positions end |