patch 8.2.3318: Vim9: cannot ignore quotes in number at the command line
Problem: Vim9: cannot ignore quotes in number at the command line.
Solution: Use in_vim9script() so that after ":vim9" quotes are ignored.
diff --git a/src/typval.c b/src/typval.c
index 389ca34..5a62fa0 100644
--- a/src/typval.c
+++ b/src/typval.c
@@ -1704,7 +1704,7 @@
int want_string UNUSED)
{
int len;
- int skip_quotes = current_sctx.sc_version >= 4;
+ int skip_quotes = current_sctx.sc_version >= 4 || in_vim9script();
#ifdef FEAT_FLOAT
char_u *p;
int get_float = FALSE;