summaryrefslogtreecommitdiffstats
path: root/src/vim9execute.c
AgeCommit message (Collapse)Author
2021-07-15patch 8.2.3166: Vim9: nested autoload call error overruled by "Unknown error"v8.2.3166Bram Moolenaar
Problem: Vim9: nested autoload call error overruled by "Unknown error". Solution: Check need_rethrow before giving an "Unknown error". (closes #8568)
2021-07-11patch 8.2.3147: Vim9: profiling does not work with a nested functionv8.2.3147Bram Moolenaar
Problem: Vim9: profiling does not work with a nested function. Solution: Also compile a nested function without profiling. (closes #8543) Handle that compiling may cause the table of compiled functions to change.
2021-07-07patch 8.2.3116: Vim9: crash when debugging a function with line continuationv8.2.3116Bram Moolenaar
Problem: Vim9: crash when debugging a function with line continuation. Solution: Check for a NULL pointer. (closes #8521)
2021-06-30patch 8.2.3078: Vim9: profile test failsv8.2.3078Bram Moolenaar
Problem: Vim9: profile test fails. Solution: Make throw in :catch jump to :finally.
2021-06-30patch 8.2.3077: Vim9: an error in a catch block is not reportedv8.2.3077Bram Moolenaar
Problem: Vim9: an error in a catch block is not reported. Solution: Put the "in catch" flag in the try stack. (closes #8478)
2021-06-30patch 8.2.3076: Vim9: using try in catch block causes a hangv8.2.3076Bram Moolenaar
Problem: Vim9: using try in catch block causes a hang. Solution: Save and restore the ec_in_catch flag. (closes #8478)
2021-06-23patch 8.2.3039: Vim9: breakpoint at a comment line does not workv8.2.3039Bram Moolenaar
Problem: Vim9: breakpoint at a comment line does not work. Solution: Add the comment line number to the debug instruction. (closes #8429)
2021-06-21patch 8.2.3029: Vim9: crash when using operator and list unpack assignmentv8.2.3029Bram Moolenaar
Problem: Vim9: crash when using operator and list unpack assignment. (Naohiro Ono) Solution: Get variable value before operation. (closes #8416)
2021-06-20patch 8.2.3027: Vim9: breakpoint in compiled function not always checkedv8.2.3027Bram Moolenaar
Problem: Vim9: breakpoint in compiled function not always checked. Solution: Check for breakpoint when calling compiled function from compiled function.
2021-06-20patch 8.2.3026: Vim9: cannot set breakpoint in compiled functionv8.2.3026Bram Moolenaar
Problem: Vim9: cannot set breakpoint in compiled function. Solution: Check for breakpoint when calling a function.
2021-06-17patch 8.2.3017: Vim9: debugger shows too many linesv8.2.3017Bram Moolenaar
Problem: Vim9: debugger shows too many lines. Solution: Truncate at a comment, "enddef", etc. (closes #8392)
2021-06-17patch 8.2.3015: Vim9: Assigning to @# requires a stringv8.2.3015Bram Moolenaar
Problem: Vim9: Assigning to @# requires a string. (Naohiro Ono) Solution: Accent a number or a string. (closes #8396)
2021-06-17patch 8.2.3014: Coverity warns for freeing static stringv8.2.3014Dominique Pelle
Problem: Coverity warns for freeing static string. Solution: Do not assign static string to pointer. (Dominique Pellé, closes #8397)
2021-06-16patch 8.2.3013: Vim: when debugging only first line of command is displayedv8.2.3013Bram Moolenaar
Problem: Vim: when debugging only the first line of a command using line continuation is displayed. Solution: Find the next command and concatenate lines until that one. (closes #8392)
2021-06-16patch 8.2.3011: Vim9: cannot get argument values during debuggingv8.2.3011Bram Moolenaar
Problem: Vim9: cannot get argument values during debugging. Solution: Lookup names in the list of arguments. Put debug instruction halfway for command.
2021-06-15patch 8.2.3005: Vim9: using a void value does not give a proper error messagev8.2.3005Bram Moolenaar
Problem: Vim9: using a void value does not give a proper error message. Solution: Give a clear error message. (clodes #8387)
2021-06-15patch 8.2.3003: Vim9: closure compiled with wrong compile typev8.2.3003Bram Moolenaar
Problem: Vim9: closure compiled with wrong compile type. Solution: Use COMPILE_TYPE() when calling a function. (closes #8384)
2021-06-14patch 8.2.2996: Vim9: when debugging cannot inspect local variablesv8.2.2996Bram Moolenaar
Problem: Vim9: when debugging cannot inspect local variables. Solution: Make local variables available when debugging.
2021-06-13patch 8.2.2992: Vim9: completion for :disassemble is incompletev8.2.2992Bram Moolenaar
Problem: Vim9: completion for :disassemble is incomplete. Solution: Recognize the "debug" and "profile" arguments.
2021-06-13patch 8.2.2987: build failure with normal featuresv8.2.2987Bram Moolenaar
Problem: Build failure with normal features. Solution: Remove #define.
2021-06-13patch 8.2.2985: Vim9: a compiled function cannot be debuggedv8.2.2985Bram Moolenaar
Problem: Vim9: a compiled function cannot be debugged. Solution: Add initial debugging support.
2021-06-09patch 8.2.2967: Vim9: crash when using two levels of partialsv8.2.2967Bram Moolenaar
Problem: Vim9: crash when using two levels of partials. Solution: Add outer_ref_T and use it in the execution context.
2021-06-06patch 8.2.2953: Vim9: leaking memory when using heredoc scriptv8.2.2953Bram Moolenaar
Problem: Vim9: leaking memory when using heredoc script. Solution: Free the first line.
2021-06-06patch 8.2.2951: Vim9: cannot use heredoc for :python, :lua, etc.v8.2.2951Bram Moolenaar
Problem: Vim9: cannot use heredoc in :def function for :python, :lua, etc. Solution: Concatenate the heredoc lines and pass them in the ISN_EXEC_SPLIT instruction.
2021-06-05patch 8.2.2946: Vim9: substitute expression cannot be a Listv8.2.2946Bram Moolenaar
Problem: Vim9: substitute expression cannot be a List in a :def function. Solution: Use typval2string(). (closes #8330)
2021-06-05patch 8.2.2944: Vim9: no error when using job or channel as a stringv8.2.2944Bram Moolenaar
Problem: Vim9: no error when using job or channel as a string. Solution: Be more strict about conversion to string. (closes #8312)
2021-06-05patch 8.2.2943: Vim9: check for argument count ignores default valuesv8.2.2943Bram Moolenaar
Problem: Vim9: check for argument count ignores default values. Solution: Take default argument values into account.
2021-06-05patch 8.2.2942: Vim9: error when calling function with too few argumentsv8.2.2942Bram Moolenaar
Problem: Vim9: internal error when calling function with too few arguments Solution: Check for argument count to be too few. (closes #8325)
2021-06-05patch 8.2.2941: Vim9: using does not handle a list of stringsv8.2.2941Bram Moolenaar
Problem: Vim9: using does not handle a list of strings. Solution: Convert a list to a string and escape each item. (closes #8310)
2021-06-04patch 8.2.2936: Vim9: converting number to bool uses wrong stack offsetv8.2.2936Bram Moolenaar
Problem: Vim9: converting number to bool uses wrong stack offset. (Salman Halim) Solution: Include the offset in the 2BOOL command.
2021-05-18patch 8.2.2868: Vim9: when executing compiled expression trylevel is changedv8.2.2868Bram Moolenaar
Problem: Vim9: When executing a compiled expression the trylevel at start is changed but not restored. (closes #8214) Solution: Restore the trylevel at start.
2021-05-17patch 8.2.2861: Vim9: "legacy return" is not recognized as a return statementv8.2.2861Bram Moolenaar
Problem: Vim9: "legacy return" is not recognized as a return statement. Solution: Specifically check for a return command. (closes #8213)
2021-05-16patch 8.2.2857: Vim9: exception in ISN_INSTR caught at wrong levelv8.2.2857Bram Moolenaar
Problem: Vim9: exception in ISN_INSTR caught at wrong level. Solution: Set the starting trylevel in exec_instructions(). (closes #8214)
2021-05-09patch 8.2.2846: Vim9: "echo Func()" does not give an error for using voidv8.2.2846Bram Moolenaar
Problem: Vim9: "echo Func()" does not give an error for a function without a return value. Solution: Give an error. Be more specific about why a value is invalid.
2021-05-07patch 8.2.2842: Vim9: skip argument to searchpair() is not compiledv8.2.2842Bram Moolenaar
Problem: Vim9: skip argument to searchpair() is not compiled. Solution: Add VAR_INSTR.
2021-05-05patch 8.2.2836: build failure without the +quickfix featurev8.2.2836Bram Moolenaar
Problem: Build failure without the +quickfix feature. (John Marriott) Solution: Add #ifdef.
2021-05-05patch 8.2.2834: Vim9: :cexpr does not work with local variablesv8.2.2834Bram Moolenaar
Problem: Vim9: :cexpr does not work with local variables. Solution: Compile :cexpr.
2021-04-26patch 8.2.2814: Vim9: unused variablev8.2.2814Bram Moolenaar
Problem: Vim9: unused variable. (John Marriott) Solution: Adjust #ifdef.
2021-04-26patch 8.2.2812: Vim9: still crash when using substitute expressionv8.2.2812Bram Moolenaar
Problem: Vim9: still crash when using substitute expression. Solution: Put the instruction list in the stack frame. (closes #8154)
2021-04-25patch 8.2.2810: Vim9: crash when calling a function in a substitute expressionv8.2.2810Bram Moolenaar
Problem: Vim9: crash when calling a function in a substitute expression. Solution: Set the instructions back to the substitute expression instrunctions. (closes #8148)
2021-04-20patch 8.2.2792: Vim9: :disas shows instructions for default args but no textv8.2.2792Bram Moolenaar
Problem: Vim9: :disas shows instructions for default args but no text. Solution: Show the expression test above the default argument instructions. (closes #8129)
2021-04-19patch 8.2.2785: Vim9: cannot redirect to local variablev8.2.2785Bram Moolenaar
Problem: Vim9: cannot redirect to local variable. Solution: Compile :redir when redirecting to a variable.
2021-04-19patch 8.2.2784: Vim9: cannot use \=expr in :substitutev8.2.2784Bram Moolenaar
Problem: Vim9: cannot use \=expr in :substitute. Solution: Compile the expression into instructions and execute them when invoked.
2021-04-18patch 8.2.2781: add() silently skips when adding to null list or blobv8.2.2781Bram Moolenaar
Problem: Add() silently skips when adding to null list or blob. Solution: Give an error in Vim9 script. Allocate blob when it is NULL like with list and dict.
2021-04-18patch 8.2.2780: Vim9: for loop over blob doesn't workv8.2.2780Bram Moolenaar
Problem: Vim9: for loop over blob doesn't work. Solution: Make it work.
2021-04-17patch 8.2.2777: Vim9: blob operations not tested in all waysv8.2.2777Bram Moolenaar
Problem: Vim9: blob operations not tested in all ways. Solution: Run tests with CheckLegacyAndVim9Success(). Make blob assign with index work.
2021-04-17patch 8.2.2775: Vim9: wrong line number used for some commandsv8.2.2775Bram Moolenaar
Problem: Vim9: wrong line number used for some commands. Solution: For :exe, :echo and the like use the line number of the start of the command. When calling a function set the line number in the script context.
2021-04-14patch 8.2.2767: compiler warning for unused argumentv8.2.2767Bram Moolenaar
Problem: Compiler warning for unused argument. Solution: Remove the argument.
2021-04-14patch 8.2.2765: Vim9: not all blob operations workv8.2.2765Bram Moolenaar
Problem: Vim9: not all blob operations work. Solution: Run more tests also with Vim9 script and :def functions. Fix what doesn't work.
2021-04-12patch 8.2.2757: Vim9: blob tests for legacy and Vim9 script are separatev8.2.2757Bram Moolenaar
Problem: Vim9: blob tests for legacy and Vim9 script are separate. Solution: Add CheckLegacyAndVim9Success(). Make blob index assign work.