Problem: Vim9: invalid error for missing white space.
Solution: Don't skip over white space after index. (closes #6718)
clear_tv(&var2);
return FAIL;
}
- *arg = skipwhite(*arg + 1); // skip the ']'
+ *arg = *arg + 1; // skip over the ']'
}
if (evaluate)
echo len('xxx') == 3
END
CheckScriptSuccess(lines)
+
+ lines =<< trim END
+ vim9script
+ let line = 'abc'
+ echo line[1] =~ '\w'
+ END
+ CheckScriptSuccess(lines)
enddef
func Test_expr4_fails()
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1468,
/**/
1467,
/**/