patch 8.2.0340: Vim9: function and partial types not tested

Problem:    Vim9: function and partial types not tested.
Solution:   Support more for partial, add tests.
diff --git a/src/vim9.h b/src/vim9.h
index 3a09c0f..35d34e3 100644
--- a/src/vim9.h
+++ b/src/vim9.h
@@ -215,6 +215,7 @@
 #endif
 	channel_T	    *channel;
 	job_T		    *job;
+	partial_T	    *partial;
 	jump_T		    jump;
 	forloop_T	    forloop;
 	try_T		    try;