diff runtime/doc/vim9.txt @ 19404:7be3663e2f2b

Update runtime files. Commit: https://github.com/vim/vim/commit/ebdf3c964a901fc00c9009689f7cfda478342c51 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 15 21:41:42 2020 +0100 Update runtime files.
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Feb 2020 21:45:05 +0100
parents 51bc26d4a393
children b09afbebffee
line wrap: on
line diff
--- a/runtime/doc/vim9.txt
+++ b/runtime/doc/vim9.txt
@@ -1,4 +1,4 @@
-*vim9.txt*	For Vim version 8.2.  Last change: 2020 Jan 30
+*vim9.txt*	For Vim version 8.2.  Last change: 2020 Feb 13
 
 
 		  VIM REFERENCE MANUAL	  by Bram Moolenaar
@@ -231,11 +231,8 @@ THIS IS STILL UNDER DEVELOPMENT - ANYTHI
 			the function follows in the next lines, until the
 			matching `:enddef`.
 
-			When {return-type} is omitted the return type will be
-			decided upon by the first encountered `return`
-			statement in the function.  E.g., for: >
-				return 'message'
-<			The return type will be "string".
+			When {return-type} is omitted the function is not
+			expected to return anything.
 			
 			{arguments} is a sequence of zero or more argument
 			declarations.  There are three forms:
@@ -257,6 +254,10 @@ THIS IS STILL UNDER DEVELOPMENT - ANYTHI
 :enddef			End of a function defined with `:def`.
 
 
+						*:disa* *:disassemble*
+:disa[ssemble] {func}	Show the instructions generated for {func}.
+			This is for debugging and testing.
+
 ==============================================================================
 
 4. Types					*vim9-types*