patch 8.2.3865: Vim9: compiler complains about using "try" as a struct member
Problem: Vim9: compiler complains about using "try" as a struct member.
Solution: Rename "try" to "tryref".
diff --git a/src/vim9.h b/src/vim9.h
index 8a243ba..a79ffb5 100644
--- a/src/vim9.h
+++ b/src/vim9.h
@@ -112,7 +112,7 @@
// loop
ISN_FOR, // get next item from a list, uses isn_arg.forloop
- ISN_TRY, // add entry to ec_trystack, uses isn_arg.try
+ ISN_TRY, // add entry to ec_trystack, uses isn_arg.tryref
ISN_THROW, // pop value of stack, store in v:exception
ISN_PUSHEXC, // push v:exception
ISN_CATCH, // drop v:exception
@@ -429,7 +429,7 @@
jump_T jump;
jumparg_T jumparg;
forloop_T forloop;
- try_T try;
+ try_T tryref;
trycont_T trycont;
cbfunc_T bfunc;
cdfunc_T dfunc;