Age | Commit message (Collapse) | Author |
|
Problem: Another illegal memory access in test.
Solution: Check pointer is after the start of the line.
|
|
Problem: Illegal memory access in test.
Solution: Check pointer is not before the start of the line.
|
|
Problem: Vim9: cannot handle nested inline function.
Solution: Check for nested inline function. (closes #8575)
|
|
Problem: Vim9: imported uninitialized list does not get type checked.
Solution: Get type from imported variable.
|
|
Problem: Vim9: uninitialzed list does not get type checked.
Solution: Set the type when initializing the variable. (closes #8529)
|
|
Problem: Vim9: error for arguments while type didn't specify arguments.
Solution: Do not update that type to check when no argument count is
specified. (closes #8492)
|
|
Problem: Vim9: type of partial is wrong when it has arguments.
Solution: Subtract arguments from the count. (issue #8492)
|
|
Problem: Garbage collection has useless code.
Solution: Bail out when aborting. (closes #8504)
|
|
Problem: Error messages are spread out.
Solution: Move some error messages to errors.h. Use clearer names.
|
|
Problem: Vim9: cannot use ternary operator in parenthesis.
Solution: Do not use "=~" for a default argument value. (closes #8462)
|
|
Problem: Vim9: memory leak when using lambda.
Solution: Do not store the default value strings when skipping.
|
|
Problem: Vim9: cannot use ternary operator in parenthesis.
Solution: Do not use "==" for a default argument value. (closes #8462)
|
|
Problem: Vim9: using default value in lambda gives confusing error.
Solution: Pass "default_args" on the first pass to get the arguments.
(closes #8455)
|
|
Problem: No error if a function name starts with an underscore. (Naohiro
Ono)
Solution: In Vim9 script disallow a function name starting with an
underscore, as is mentioned in the help. (closes #8414)
|
|
Problem: Vim9: a compiled function cannot be debugged.
Solution: Add initial debugging support.
|
|
Problem: Vim9: an inline function requires specifying the return type.
Solution: Make the return type optional.
|
|
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.
|
|
Problem: Vim9: memory leak when lambda has an error.
Solution: Free the list of argument types on failure.
|
|
Problem: Vim9: memory leak when using inline function.
Solution: Remember what strings to free.
|
|
Problem: Skipping over function body fails.
Solution: Do not define the function when skipping.
|
|
Problem: Vim9: crash when using inline function.
Solution: Check for NULL pointer. Make using inline function work inside
lambda. (closes #8217)
|
|
Problem: Memory leak when default function argument is allocated.
Solution: Free the expression result.
|
|
Problem: Vim9: wrong line number for autoload function with wrong name.
Solution: Set and restore SOURCING_LNUM. (closes #8100)
|
|
Problem: Coverity warns for using NULL pointer.
Solution: Check for NULL in calling function.
|
|
Problem: Check for duplicate arguments does not work.
Solution: Correct condition.
|
|
Problem: Vim9: missing part of the argument change.
Solution: Add missing changes.
|
|
Problem: Vim9: lambda with varargs doesn't work.
Solution: Make "...name" work. Require type to be a list.
|
|
Problem: Vim9: a lambda accepts too many arguments at the script level.
Solution: Do not set uf_varargs in Vim9 script.
|
|
Problem: Confusing error message with white space before comma in the
arguments of a function declaration.
Solution: Give a specific error message. (closes #2235)
|
|
Problem: Vim9: cannot use only some of the default arguments.
Solution: Use v:none to use default argument value. Remove
uf_def_arg_idx[], use JUMP_IF_ARG_SET. (closes #6504)
|
|
Problem: Vim9: leaking memory when inline function has an error.
Solution: Free the partially allocated function.
|
|
Problem: Using inline function is not properly tested.
Solution: Add test cases, esp. for errors. Minor code improvements.
|
|
Problem: Vim9: no clear error for wrong inline function.
Solution: Check for something following the "{".
|
|
Problem: Memory leak when compiling inline function.
Solution: Free the prefetched line.
|
|
Problem: Vim9: cannot define an inline function.
Solution: Make an inline function mostly work.
|
|
Problem: Vim9: function is deleted while executing.
Solution: increment the call count, when more than zero do not delete the
function but mark it as dead. (closes #7977)
|
|
Problem: Vim9: defining a :func function checks for white space after a
comma in the arguments.
Solution: Only check for white space in a :def function. (closes #7930)
|
|
Problem: No error if a lambda argument shadows a variable.
Solution: Check that the argument name shadows a local, argument or script
variable. (closes #7898)
|
|
Problem: Vim9: error for argument when checking for lambda.
Solution: Respect the skip flag. (closes #7887)
|
|
Problem: Vim9: no error for using script var name for argument.
Solution: Check for this error. (closes #7868)
|
|
Problem: Coverity complains about unchecked return value.
Solution: Add (void).
|
|
Problem: Vim9: not enough testing for profiling.
Solution: Add a test with nested functions and a lambda. Fix profiling
for calling a compiled function.
|
|
Problem: Vim9: crash after defining function with invalid return type.
Solution: Clear function growarrays. Fix memory leak.
|
|
Problem: Vim9: some errors for white space do not show context.
Solution: Include the text at the error.
|
|
Problem: Vim9: confusing error when variable arguments have a default
value.
Solution: Give a specific error message. (closes #7793)
|
|
Problem: Vim9: some errors for white space do not show context.
Solution: Include the text at the error.
|
|
Problem: Coverity warning for strcpy() into fixed size array.
Solution: Add a type cast to hopefully silence the bogus warning.
|
|
Problem: Vim9: no proper error for lambda missing return type.
Solution: Check for this error. (closes #7758)
|
|
Problem: Vim9: no need to allow white space before "(" for :def.
Solution: Give an error for stray white space. (issue #7734)
|
|
Problem: Vim9: compiled functions are not profiled.
Solution: Add initial changes to profile compiled functions. Fix that a
script-local function was hard to debug.
|