| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Vim9: readdirex() expression doesn't accept bool.
Solution: Accept both -1 and bool. (closes #6737)
|
|
|
|
|
| |
Problem: Flaky failure in assert_fails().
Solution: Only used fourth argument if there is a third argument.
|
|
|
|
|
|
| |
Problem: Vim9: error for using special as number when returning "false"
from a popup filter.
Solution: Use tv_get_bool(). (closes #6733)
|
|
|
|
|
|
| |
Problem: Vim9: crash when using a nested lambda.
Solution: Do not clear the growarray when not evaluating. Correct pointer
when getting the next line. (closes #6731)
|
|
|
|
|
| |
Problem: Vim9: line number reported with error may be wrong.
Solution: Check line number in tests.
|
|
|
|
|
| |
Problem: Vim9: skip expression in search() gives error.
Solution: use tv_get_bool() eval_expr_to_bool(). (closes #6729)
|
|
|
|
|
|
| |
Problem: Vim9: error for list index uses wrong line number.
Solution: Set source line number. (closes #6724) Add a way to assert the
line number of the error with assert_fails().
|
|
|
|
|
| |
Problem: Vim9: cannot use "true" for some popup options.
Solution: Add dict_get_bool(). (closes #6725)
|
|
|
|
|
| |
Problem: Vim9: error when using bufnr('%').
Solution: Don't give an error for using a string argument. (closes #6723)
|
|
|
|
|
| |
Problem: Filetype test fails on MS-Windows.
Solution: Remove "^" from pattern.
|
|
|
|
|
| |
Problem: Vim9: can't use v:true for option flags.
Solution: Add tv_get_bool_chk(). (closes #6725)
|
|
|
|
|
| |
Problem: /usr/lib/udef/rules.d not recognized as udevrules.
Solution: Adjust match pattern. (Haochen Tong, closes 36722)
|
|
|
|
|
|
| |
Problem: Items in a list given to :const can still be modified.
Solution: Work like ":lockvar! name" but don't lock referenced items.
Make locking a blob work.
|
|
|
|
|
|
|
| |
Problem: ":argdel" does not work like ":.argdel" as documented. (Alexey
Demin)
Solution: Make ":argdel" work like ":.argdel". (closes #6727)
Also fix giving the error "0 more files to edit".
|
|
|
|
|
| |
Problem: :const only locks the variable, not the value.
Solution: Lock the value as ":lockvar 1 var" would do. (closes #6719)
|
|
|
|
|
|
| |
Problem: Errors in spell file not tested.
Solution: Add test for spell file errors. (Yegappan Lakshmanan,
closes #6721)
|
|
|
|
|
| |
Problem: Vim9: cannot assign string to string option.
Solution: Change checks for option value. (closes #6720)
|
|
|
|
|
| |
Problem: Vim9: invalid error for missing white space.
Solution: Don't skip over white space after index. (closes #6718)
|
|
|
|
|
| |
Problem: Vim9: :echomsg doesn't like a dict argument.
Solution: Convert arguments like in legacy script. (closes #6717)
|
|
|
|
|
| |
Problem: Vim9: cannot index or slice a variable with type "any".
Solution: Add runtime index and slice.
|
|
|
|
|
|
| |
Problem: Vim9: subscript not handled properly.
Solution: Adjust error message. Remove dead code. Disallow string to
number conversion in scripts.
|
|
|
|
|
| |
Problem: Vim9: build warning for unused variable.
Solution: Delete the variable declaration.
|
|
|
|
|
| |
Problem: Vim9: list slice not supported yet.
Solution: Add support for list slicing.
|
|
|
|
|
| |
Problem: Vim9: string slice not supported yet.
Solution: Add support for string slicing.
|
| |
|
|
|
|
|
| |
Problem: Vim9: string indexes are counted in bytes.
Solution: Use character indexes. (closes #6574)
|
|
|
|
|
| |
Problem: Error messages are spread out.
Solution: Move more messages into errors.h.
|
|
|
|
|
|
| |
Problem: Vim9: declaring ascript variable at the script level does not
infer the type.
Solution: Get the type from the value. (closes #6716)
|
|
|
|
|
| |
Problem: .gawk files not recognized.
Solution: Recognize .gawk files. (Doug Kearns)
|
|
|
|
|
| |
Problem: Vim9: the output of :disassemble cannot be interrupted.
Solution: Check got_int. (closes #6715)
|
|
|
|
|
| |
Problem: MS-Windows: test files are not deleted.
Solution: use "del" instead of $(DEL).
|
|
|
|
|
| |
Problem: Vim9: crash when using typecast before constant.
Solution: Generate constant before checking type. Add tets.
|
|
|
|
|
| |
Problem: Vim9: failure invoking lambda with wrong arguments.
Solution: Handle invalid arguments. Add a test.
|
|
|
|
|
| |
Problem: Vim9: failure to compile lambda not tested.
Solution: Add a test case.
|
|
|
|
|
| |
Problem: Vim9: dead code in to_name_end().
Solution: Remove check for lambda and dict, it won't be used.
|
|
|
|
|
|
| |
Problem: Vim9: list type at script level only uses first item.
Solution: Use all members, like in a compiled function. (closes #6712)
Also for dictionary.
|
|
|
|
|
| |
Problem: Vim9: no check that script-local items don't become global.
Solution: Add a test.
|
|
|
|
|
| |
Problem: Some test makefiles delete files that are not generated.
Solution: Remove the deletion commands.
|
|
|
|
|
| |
Problem: Test 77a for VMS depends on small.vim which does not exist.
Solution: Use the 'silent while 0" trick. (issue #6696)
|
|
|
|
|
| |
Problem: Vim9: return type of keys() is list<any>.
Solution: Should be list<string>. (closes #6711)
|
|
|
|
|
| |
Problem: Vim9: line number in error message is not correct.
Solution: Set SOURCING_LNUM before calling emsg(). (closes #6708)
|
|
|
|
|
|
|
| |
Problem: Vim9: function expanded name is cleared when sourcing a script
again.
Solution: Only clear the expanded name when deleting the function.
(closes #6707)
|
|
|
|
|
|
| |
Problem: Error messages are spread out and names can be confusing.
Solution: Start moving error messages to a separate file and use clear
names.
|
|
|
|
|
| |
Problem: Vim9: crash when interrupting a nested :def function.
Solution: Push a dummy return value onto the stack. (closes #6701)
|
|
|
|
|
| |
Problem: Outdated references to the Mac Carbon GUI.
Solution: Remove or update references. (Yee Cheng Chin, closes #6703)
|
|
|
|
|
|
| |
Problem: Running tests in tiny version gives error for summarize.vim.
Solution: Set 'cpoptions' to allow for line continuation. Restore
redirecting test output to /dev/null.
|
|
|
|
|
| |
Problem: Debugger code insufficiently tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6700)
|
|
|
|
|
|
| |
Problem: Tiny and small builds have no test coverage.
Solution: Restore tests that do not depend on the +eval feature.
(Ken Takata, closes #6696)
|
|
|
|
|
| |
Problem: Missing tests for interrupting script execution from debugger.
Solution: Add tests. (Yegappan Lakshmanan, closes #6697)
|
|
|
|
|
| |
Problem: Vim9: 'statusline' is evaluated using Vim9 script syntax.
Solution: Always use legacy script syntax.
|