patch 8.2.2785: Vim9: cannot redirect to local variable
Problem: Vim9: cannot redirect to local variable.
Solution: Compile :redir when redirecting to a variable.
diff --git a/src/vim9.h b/src/vim9.h
index 52b7c6d..bbed384 100644
--- a/src/vim9.h
+++ b/src/vim9.h
@@ -169,6 +169,9 @@
ISN_SHUFFLE, // move item on stack up or down
ISN_DROP, // pop stack and discard value
+ ISN_REDIRSTART, // :redir =>
+ ISN_REDIREND, // :redir END, isn_arg.number == 1 for append
+
ISN_FINISH // end marker in list of instructions
} isntype_T;