mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.2.4536: debugger test fails when breaking on expression
Problem: Debugger test fails when breaking on expression. Solution: Compare strings with "==" instead of "is".
This commit is contained in:
parent
81da16b53f
commit
cf6662082f
@ -989,7 +989,12 @@ debuggy_find(
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (typval_compare(tv, bp->dbg_val, EXPR_IS, FALSE) == OK
|
// Use "==" instead of "is" for strings, that is what we
|
||||||
|
// always have done.
|
||||||
|
exprtype_T type = tv->v_type == VAR_STRING
|
||||||
|
? EXPR_EQUAL : EXPR_IS;
|
||||||
|
|
||||||
|
if (typval_compare(tv, bp->dbg_val, type, FALSE) == OK
|
||||||
&& tv->vval.v_number == FALSE)
|
&& tv->vval.v_number == FALSE)
|
||||||
{
|
{
|
||||||
typval_T *v;
|
typval_T *v;
|
||||||
|
@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
4536,
|
||||||
/**/
|
/**/
|
||||||
4535,
|
4535,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user