Age | Commit message (Collapse) | Author |
|
Problem: Using inclusive index for slice is not always desired.
Solution: Add the slice() method, which has an exclusive index. (closes
#7408)
|
|
Problem: "char" functions return the wront column in Insert mode when the
cursor is beyond the end of the line.
Solution: Compute the column correctly. (Yegappan Lakshmanan, closes #7669)
|
|
Problem: Not easy to get mark en cursor posotion by character count.
Solution: Add functions that use character index. (Yegappan Lakshmanan,
closes #7648)
|
|
Problem: "exptype_T" can be read as "expected type".
Solution: Rename to "exprtype_T", expression type.
|
|
Problem: Vim9: string and list index work differently.
Solution: Make string index work like list index. (closes #7643)
|
|
Problem: Vim9: when using function reference type is not checked.
Solution: When using a function reference lookup the type and check the
argument types. (issue #7629)
|
|
Problem: Vim9: "++var" and "--var" are silently accepted.
Solution: Give an error message.
|
|
Problem: Vim: expr test fails.
Solution: Add missing part of "null" support.
|
|
Problem: Vim9: unlet of global variable cannot be compiled.
Solution: Skip over variables that might be defined later. Give an error if
a subscript is found. (closes #7585)
|
|
Problem: Vim9: 'cpo' can become empty.
Solution: Use empty_option instead of an empty string. Update quickfix
buffer after restoring 'cpo'. (closes #7608)
|
|
Problem: Vim9: list unpack seen as declaration.
Solution: Check for "var". (closes #7594)
|
|
Problem: Vim9: it can be hard to see where white space is missing.
Solution: Mention the text where the error was seen. (closes #7580)
|
|
Problem: Vim9: using -> for lambda is ambiguous.
Solution: Stop supporting ->, must use =>.
|
|
Problem: Test failures in legacy script.
Solution: Check for Vim9 script.
|
|
Problem: Vim9: sublist is ambiguous.
Solution: Require white space around the colon. (closes #7409)
|
|
Problem: Vim9: lambda with => does not work at the script level.
Solution: Make it work.
|
|
Problem: Vim9: return type of => lambda not parsed.
Solution: Parse and use the return type.
|
|
Problem: :exe command line completion only works for first argument.
Solution: Skip over text if more is following. (closes #7546)
|
|
Problem: Failing tests for :const.
Solution: Add missing check for ASSIGN_FINAL.
|
|
Problem: Vim9: error when using 'opfunc'.
Solution: Do not expect a return value from 'opfunc'. (closes #7510)
|
|
Problem: Vim9: assignment to dict member does not work.
Solution: Fix recognizing dict member. (closes #7484)
|
|
Problem: Vim9: Cannot load or store autoload variables.
Solution: Add ISN_LOADAUTO and ISN_STOREAUTO. (closes #7485)
|
|
Problem: Various typos.
Solution: Fix spelling mistakes. (closes #7494)
|
|
Problem: A user command with try/catch may not catch an expression error.
Solution: When an expression fails check for following "|". (closes #7469)
|
|
Problem: When an expression fails getting the next command may be wrong.
Solution: Do not check for a next command after :eval fails. (closes #7415)
|
|
Problem: Vim9: can still use the depricated #{} dict syntax.
Solution: Remove support for #{} in Vim9 script. (closes #7406, closes #7405)
|
|
Problem: Vim9: assignment with += doesn't work.
Solution: Do not see the "+" as an addition operator.
|
|
Problem: Vim9: lamba doesn't accept argument types.
Solution: Optionally accept argument types at the script level.
|
|
Problem: Vim9: list unpack in for statement not compiled yet.
Solution: Compile list unpack. (closes #7345)
|
|
Problem: Coverity warns for using an uninitialized variable.
Solution: Initialize to NULL.
|
|
Problem: Vim9: some tests are not done at the script level.
Solution: Use CheckDefAndScriptSuccess() in more places. Fix uncovered
problems.
|
|
Problem: Vim9: cannot specify argument types for lambda.
Solution: Allow adding argument types. Check arguments when calling a
function reference.
|
|
Problem: Vim9: cannot put line break in expression for '=' register.
Solution: Pass fgetline to set_expr_line(). (closes #7209)
|
|
Problem: Vim9: skipping over expression doesn't handle line breaks.
Solution: Pass evalarg to skip_expr(). (closes #7157)
|
|
Problem: Vim9: strange error for subtracting from a list.
Solution: Check getting a number, not a string. (closes #7167)
|
|
Problem: Vim9: "!" followed by space incorrectly used.
Solution: Skip over trailing spaces. (closes #7131)
|
|
Problem: Vim9: cannot insert a comment line in an expression.
Solution: Skip comment lines at the script level. (closes #7111)
|
|
Problem: Vim9: Memory leak when using a closure.
Solution: Compute the mininal refcount in the funcstack. Reenable disabled
tests.
|
|
Problem: Vim9: can assign wrong type to script dict. (Christian J. Robinson)
Solution: Check the type if known.
|
|
Problem: Vim9: trinary operator condition is too permissive.
Solution: Use tv_get_bool_chk().
|
|
Problem: Vim9: operators && and || have a confusing result.
Solution: Make the result a boolean.
|
|
Problem: No falsy Coalescing operator.
Solution: Add the "??" operator. Fix mistake with function argument count.
|
|
Problem: Vim9: using ":const!" is weird.
Solution: Use "var" - "final" - "const" like Dart. "let" still works for
now.
|
|
Problem: Vim9: cannot use += to append to empty NULL list.
Solution: Copy the list instead of extending it. (closes #6998)
|
|
Problem: Cannot lock a variable in legacy Vim script like in Vim9.
Solution: Make ":lockvar 0" work.
|
|
Problem: Vim9: cannot declare a constant value.
Solution: Introduce ":const!".
|
|
Problem: v_lock is used when it is not initialized. (Yegappan Lakshmanan)
Solution: Initialize the typval in eval1().
|
|
Problem: Vim9: stray error for missing white space.
Solution: Do not skip over white space after member. (closes #6817)
|
|
Problem: Vim9: result of && and || expression cannot be assigned to a bool
at the script level.
Solution: Add the VAR_BOOL_OK flag. Convert to bool when needed.
|
|
Problem: Using NULL pointers in some code. (James McCoy)
Solution: Avoid adding to a NULL pointer. Use byte as unsigned.
|