Skip to content

Commit cef212e

Browse files
committed
Fix some type annotations (missing dap. prefix)
1 parent 6a12fe5 commit cef212e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lua/dap/health.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,18 @@ function M.check()
3333
health.info("Adapter is a function. Can't validate it")
3434
else
3535
if adapter.type == "executable" then
36-
adapter = adapter --[[@as ExecutableAdapter]]
36+
adapter = adapter --[[@as dap.ExecutableAdapter]]
3737
check_executable(adapter.command)
3838
elseif adapter.type == "server" then
39-
adapter = adapter --[[@as ServerAdapter]]
39+
adapter = adapter --[[@as dap.ServerAdapter]]
4040
if not adapter.port then
4141
health.error("Missing required `port` property")
4242
end
4343
if adapter.executable then
4444
check_executable(adapter.executable.command)
4545
end
4646
elseif adapter.type == "pipe" then
47-
adapter = adapter --[[@as PipeAdapter]]
47+
adapter = adapter --[[@as dap.PipeAdapter]]
4848
if not adapter.pipe then
4949
health.error("Missing required `pipe` property")
5050
end

lua/dap/ui/widgets.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ function M.sidebar(widget, winopts, wincmd)
652652
end
653653

654654

655-
---@param session Session
655+
---@param session dap.Session
656656
---@param expr string
657657
---@param max_level integer
658658
local function get_var_lines(session, expr, max_level)

0 commit comments

Comments
 (0)