patch 8.2.0823: Vim9: script reload test is disabled
Problem: Vim9: script reload test is disabled.
Solution: Compile a function in the context of the script where it was
defined. Set execution stack for compiled function. Add a test
that an error is reported for the right file/function.
diff --git a/src/globals.h b/src/globals.h
index 648da7d..f0716c5 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -344,7 +344,7 @@
* field of a later list element, when the "emsg_severe" flag was set when the
* emsg() call was made.
*/
-EXTERN struct msglist **msg_list INIT(= NULL);
+EXTERN msglist_T **msg_list INIT(= NULL);
/*
* suppress_errthrow: When TRUE, don't convert an error to an exception. Used