summaryrefslogtreecommitdiffstats
path: root/src/eval.c
AgeCommit message (Collapse)Author
2022-05-06patch 8.2.4897: comment inside an expression in lambda ignores the restv8.2.4897Bram Moolenaar
Problem: Comment inside an expression in lambda ignores the rest of the expression. Solution: Truncate the line at the comment. (closes #10367)
2022-05-06patch 8.2.4896: expression in command block does not look after NLv8.2.4896Bram Moolenaar
Problem: Expression in command block does not look after NL when command is typed. Solution: Skip over NL also when not in a script. (closes #10358)
2022-05-06patch 8.2.4883: string interpolation only works in heredocv8.2.4883LemonBoy
Problem: String interpolation only works in heredoc. Solution: Support interpolated strings. Use syntax for heredoc consistent with strings, similar to C#. (closes #10327)
2022-05-05patch 8.2.4869: expression in command block does not look after NLv8.2.4869Bram Moolenaar
Problem: Expression in command block does not look after NL. Solution: Skip over NL to check what follows. (closes #10358)
2022-04-29patch 8.2.4847: crash when using uninitialized function pointerv8.2.4847LemonBoy
Problem: Crash when using uninitialized function pointer. Solution: Check for NULL pointer. (closes #10319, closes #10319)
2022-04-24patch 8.2.4822: setting ufunc to NULL twicev8.2.4822LemonBoy
Problem: Setting ufunc to NULL twice. Solution: Set ufunc to NULL in find_exported(). (closes #19275)
2022-04-24patch 8.2.4821: crash when imported autoload script was deletedv8.2.4821Bram Moolenaar
Problem: Crash when imported autoload script was deleted. Solution: Initialize local variable. (closes #10274) Give a more meaningful error message.
2022-04-17patch 8.2.4774: crash when using a number for lambda namev8.2.4774Bram Moolenaar
Problem: Crash when using a number for lambda name. Solution: Check the type of the lambda reference.
2022-04-15patch 8.2.4755: cannot use <SID>FuncRef in completion specv8.2.4755Bram Moolenaar
Problem: Cannot use <SID>FuncRef in completion spec. Solution: Dereference a function name in another way. (closes #10197)
2022-04-15patch 8.2.4753: error from setting an option is silently ignoredv8.2.4753Bram Moolenaar
Problem: Error from setting an option is silently ignored. Solution: Handle option value errors better. Fix uses of N_().
2022-04-11patch 8.2.4734: getcharpos() may change a mark positionv8.2.4734Bram Moolenaar
Problem: getcharpos() may change a mark position. Solution: Copy the mark position. (closes #10148)
2022-04-04patch 8.2.4682: Vim9: can use :unlockvar for const variablev8.2.4682Bram Moolenaar
Problem: Vim9: can use :unlockvar for const variable. (Ernie Rael) Solution: Check whether the variable is a const.
2022-04-01patch 8.2.4662: no error for using out of range list indexv8.2.4662Bram Moolenaar
Problem: No error for using out of range list index. Solution: Check list index at script level like in compiled function. (closes #10051)
2022-03-31patch 8.2.4657: errors for functions are sometimes hard to readv8.2.4657Bram Moolenaar
Problem: Errors for functions are sometimes hard to read. Solution: Use printable_func_name() in more places.
2022-03-25patch 8.2.4622: Vim9: crash with :execute and :finishv8.2.4622Bram Moolenaar
Problem: Vim9: Crash with :execute and :finish. (Sergey Vlasov) Solution: Check for NULL. (closes #10011)
2022-03-19patch 8.2.4594: need to write script to a file to be able to source themv8.2.4594Yegappan Lakshmanan
Problem: Need to write script to a file to be able to source them. Solution: Make ":source" use lines from the current buffer. (Yegappan Lakshmanan et al., closes #9967)
2022-03-18patch 8.2.4589: cannot index the g: dictionaryv8.2.4589Bram Moolenaar
Problem: Cannot index the g: dictionary. Solution: Recognize using "g:[key]". (closes #9969)
2022-03-17patch 8.2.4584: error for using autoload function in custom completionv8.2.4584Bram Moolenaar
Problem: Error for using autoload function in custom completion. Solution: Do not check for errors when using an autoload function. (closes #9962)
2022-03-16patch 8.2.4582: useless code handling a type declarationv8.2.4582Bram Moolenaar
Problem: Useless code handling a type declaration. Solution: Remove the code and give an error.
2022-03-16patch 8.2.4578: no warning when autoload script for completion has an errorv8.2.4578Bram Moolenaar
Problem: No warning when an autoload script for completion function has an error. Solution: Do not ignore errors when a function name is given with a dot or '#' character. (closes #9958)
2022-03-15patch 8.2.4575: Vim9: test for profiling still failsv8.2.4575Bram Moolenaar
Problem: Vim9: test for profiling still fails. Solution: Update flags for profiling and breakpoints when obtaining the compile type. Do not set the FC_CLOSURE flag for a toplevel function.
2022-03-13patch 8.2.4556: test fails without the +job or +channel featurev8.2.4556Bram Moolenaar
Problem: Test fails without the +job or +channel feature. (Dominique Pellé) Solution: Adjust #ifdefs. Pass on skip flag. (closes #9942)
2022-03-10patch 8.2.4540: line number for error is off by onev8.2.4540Bram Moolenaar
Problem: Line number for error is off by one. Solution: Remember the line number of the comparison. (closes #9923)
2022-03-08patch 8.2.4526: Vim9: cannot set variables to a null valuev8.2.4526Bram Moolenaar
Problem: Vim9: cannot set variables to a null value. Solution: Add null_list, null_job, etc.
2022-02-13patch 8.2.4375: ctx_imports is not usedv8.2.4375Bram Moolenaar
Problem: ctx_imports is not used. Solution: Delete ctx_imports. Add missing dependency.
2022-02-13patch 8.2.4367: calling in_vim9script() multiple timesv8.2.4367Bram Moolenaar
Problem: Calling in_vim9script() multiple times. Solution: Call it once and keep the result.
2022-02-12patch 8.2.4360: Vim9: allowing use of "s:" leads to inconsistenciesv8.2.4360Bram Moolenaar
Problem: Vim9: allowing use of "s:" leads to inconsistencies. Solution: Disallow using "s:" in Vim9 script at the script level.
2022-02-11patch 8.2.4348: "legacy exe cmd" does not do what one would expectv8.2.4348Bram Moolenaar
Problem: "legacy exe cmd" does not do what one would expect. Solution: Apply the "legacy" and "vim9script" command modifiers to the argument of ":execute".
2022-02-08patch 8.2.4333: cstack not always passed to where it is neededv8.2.4333Bram Moolenaar
Problem: cstack not always passed to where it is needed. Solution: Pass ctack through functions.
2022-02-07patch 8.2.4322: Vim9: crash when using funcref with closurev8.2.4322Bram Moolenaar
Problem: Vim9: crash when using funcref with closure. Solution: Keep a reference to the funcref that has the outer context. (closes #9716)
2022-02-07patch 8.2.4318: various comment and indent mistakes, returning wrong zerov8.2.4318Bram Moolenaar
Problem: Various comment and indent mistakes, returning wrong zero. Solution: Fix the mistakes. Return NULL instead of FAIL.
2022-02-02patch 8.2.4286: Vim9: strict type checking after copy() and deepcopy()v8.2.4286Bram Moolenaar
Problem: Vim9: strict type checking after copy() and deepcopy(). Solution: Allow type to change after making a copy. (closes #9644)
2022-01-31patch 8.2.4273: the EBCDIC support is outdatedv8.2.4273Bram Moolenaar
Problem: The EBCDIC support is outdated. Solution: Remove the EBCDIC support.
2022-01-29patch 8.2.4257: Vim9: finding global function without g: prefix inconsistentv8.2.4257Bram Moolenaar
Problem: Vim9: finding global function without g: prefix but not finding global variable is inconsistent. Solution: Require using g: for a global function. Change the vim9.vim script into a Vim9 script with exports. Fix that import in legacy script does not work.
2022-01-29patch 8.2.4255: theoretical computation overflowv8.2.4255=?UTF-8?q?Dundar=20G=C3=B6c?=
Problem: Theoretical computation overflow. Solution: Perform multiplication in a wider type. (closes #9657)
2022-01-26patch 8.2.4226: filter-map test failsv8.2.4226Bram Moolenaar
Problem: Filter-map test fails. Solution: Only reject number argument in Vim9 script.
2022-01-26patch 8.2.4224: Vim9: no error when using a number for map() second argumentv8.2.4224Bram Moolenaar
Problem: Vim9: no error when using a number for map() second argument Solution: Disallow number to string conversion. (closes #9630)
2022-01-26patch 8.2.4223: long/int compiler warnings; function arguments swappedv8.2.4223K.Takata
Problem: Long/int compiler warnings; function arguments swapped. Solution: Add type casts. Swap arguments. (Ken Takata, closes #9632)
2022-01-24patch 8.2.4207: recursion test fails with MSVCv8.2.4207Bram Moolenaar
Problem: Recursion test fails with MSVC. Solution: Use a smaller limit for MSVC.
2022-01-24patch 8.2.4206: condition with many "(" causes a crashv8.2.4206Bram Moolenaar
Problem: Condition with many "(" causes a crash. Solution: Limit recursion to 1000.
2022-01-22patch 8.2.4179: 'foldtext' is evaluated in the current script contextv8.2.4179Bram Moolenaar
Problem: 'foldtext' is evaluated in the current script context. Solution: Use the script context where the option was set.
2022-01-21patch 8.2.4173: cannot use an import in 'foldexpr'v8.2.4173Bram Moolenaar
Problem: Cannot use an import in 'foldexpr'. Solution: Set the script context to where 'foldexpr' was set. (closes #9584) Fix that the script context was not set for all buffers.
2022-01-19patch 8.2.4145: confusing error when using name of import for a functionv8.2.4145Bram Moolenaar
Problem: Confusing error when using name of import for a function. Solution: Pass a flag to trans_function_name().
2022-01-18patch 8.2.4128: crash when method cannot be foundv8.2.4128Bram Moolenaar
Problem: Crash when method cannot be found. (Christian J. Robinson) Solution: Don't mix up pointer names.
2022-01-17patch 8.2.4125: completion tests failv8.2.4125Bram Moolenaar
Problem: Completion tests fail. Solution: Disable error messages while dereferencing the function name.
2022-01-17patch 8.2.4123: complete function cannot be import.Namev8.2.4123Bram Moolenaar
Problem: Complete function cannot be import.Name. Solution: Dereference the function name if needed. Also: do not see "import.Name" as a builtin function. (closes #9541)
2022-01-16patch 8.2.4117: Vim9: wrong white space error after using imported itemv8.2.4117Bram Moolenaar
Problem: Vim9: wrong white space error after using imported item. Solution: Don't skip over white space. (closes #9544)
2022-01-16patch 8.2.4115: cannot use a method with a complex expressionv8.2.4115Bram Moolenaar
Problem: Cannot use a method with a complex expression. Solution: Evaluate the expression after "->" and use the result.
2022-01-16patch 8.2.4110: Coverity warns for using NULL pointerv8.2.4110Bram Moolenaar
Problem: Coverity warns for using NULL pointer. Solution: Check "evalarg" is not NULL. Skip errors when "verbose" is false.
2022-01-15patch 8.2.4102: Vim9: import cannot be used after methodv8.2.4102Bram Moolenaar
Problem: Vim9: import cannot be used after method. Solution: Recognize an imported function name. (closes #9496)