patch 9.2.0062: Using the wrong field with DAP channel mode

Commit: 
https://github.com/vim/vim/commit/cb031178c2b35cbec0caf94e5d592530aa21f129
Author: Foxe Chen <[email protected]>
Date:   Wed Feb 25 21:43:06 2026 +0000

    patch 9.2.0062: Using the wrong field with DAP channel mode
    
    Problem:  Using the wrong field with DAP channel mode
              (after v9.2.0060)
    Solution: Use request_seq instead of seq when handing DAP response
              (Foxe Chen).
    
    closes: #19511
    
    Signed-off-by: Foxe Chen <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/src/channel.c b/src/channel.c
index 462281dbd..92b95f9b6 100644
--- a/src/channel.c
+++ b/src/channel.c
@@ -3015,7 +3015,7 @@ may_invoke_callback(channel_T *channel, ch_part_T part)
                if (ch_mode == CH_MODE_LSP)
                    di = dict_find(d, (char_u *)"id", -1);
                else
-                   di = dict_find(d, (char_u *)"seq", -1);
+                   di = dict_find(d, (char_u *)"request_seq", -1);
                if (di != NULL && di->di_tv.v_type == VAR_NUMBER)
                    seq_nr = di->di_tv.vval.v_number;
            }
diff --git a/src/version.c b/src/version.c
index 08e7ee2c9..dfc0431b1 100644
--- a/src/version.c
+++ b/src/version.c
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    62,
 /**/
     61,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1vvh3l-00EURi-Sh%40256bit.org.

Raspunde prin e-mail lui