Skip to content

Commit 2ffc431

Browse files
edb: fix numeric types
Summary: as title, see the task ___ Differential Revision: D109300702 fbshipit-source-id: 67f4272f0382e888d4b032582c456575480a3dd5
1 parent 14629b6 commit 2ffc431

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

apps/edb/src/edb_dap_request_next.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ next requests: https://microsoft.github.io/debug-adapter-protocol/specification#
4141
-type arguments() :: #{
4242
% Specifies the thread for which to resume execution for one step (of the
4343
% given granularity).
44-
threadId := number(),
44+
threadId := integer(),
4545

4646
% If this flag is true, all other suspended threads are not resumed.
4747
singleThread => boolean(),

apps/edb/src/edb_dap_request_step_in.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ step-in requests: https://microsoft.github.io/debug-adapter-protocol/specificati
4040
-type arguments() :: #{
4141
% Specifies the thread for which to resume execution for one step-in (of the
4242
% given granularity).
43-
threadId := number(),
43+
threadId := integer(),
4444

4545
% If this flag is true, all other suspended threads are not resumed.
4646
singleThread => boolean(),

apps/edb/src/edb_dap_request_step_out.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ stepOut requests: https://microsoft.github.io/debug-adapter-protocol/specificati
3838
-type arguments() :: #{
3939
% Specifies the thread for which to resume execution for one step-out (of the
4040
% given granularity).
41-
threadId := number(),
41+
threadId := integer(),
4242

4343
% If this flag is true, all other suspended threads are not resumed.
4444
singleThread => boolean(),

apps/edb/src/edb_dap_reverse_request_run_in_terminal.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ runInTerminal reverse requests: https://microsoft.github.io/debug-adapter-protoc
6868
-type response_body() :: #{
6969
%% The process ID. The value should be less than or equal to 2147483647 * (2^31-1).
7070
%% NB. Currently not sent by VS Code. See https://github.com/microsoft/vscode/issues/61640#issuecomment-432696354
71-
processId => number(),
71+
processId => integer(),
7272

7373
%% The process ID of the terminal shell. The value should be less than or
7474
%% equal to 2147483647 (2^31-1).
75-
shellProcessId => number()
75+
shellProcessId => integer()
7676
}.
7777

7878
-export_type([arguments/0, response_body/0]).

0 commit comments

Comments
 (0)