| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Vim9: leaking memory when using partial.
Solution: Do delete the function even when it was compiled.
|
|
|
|
|
| |
Problem: Vim9: vim9compile.c is getting too big.
Solution: Split off type code to vim9type.c.
|
|
|
|
|
|
| |
Problem: Vim9: may find imported item in wrong script.
Solution: When looking up script-local function use the embedded script ID.
(issue #6644)
|
|
|
|
|
| |
Problem: Vim9: no error for missing white space around operator.
Solution: Check for white space. (closes #6618)
|
|
|
|
|
| |
Problem: Vim9: invalid operators only rejected in :def function.
Solution: Also reject them at script level. (closes #6564)
|
|
|
|
|
| |
Problem: Vim9: optional argument type not parsed properly.
Solution: Skip over the "?". (issue #6507)
|
|
|
|
|
| |
Problem: Vim9: type not checked if declaration also assigns value.
Solution: Check the type. (issue #6507)
|
|
|
|
|
|
| |
Problem: Vim9: cannot have a comment or empty line halfway a list at script
level.
Solution: Skip more than one line if needed.
|
|
|
|
|
| |
Problem: Vim9: no error if calling a function with wrong argument type.
Solution: Check types of arguments. (closes #6469)
|
|
|
|
|
| |
Problem: Vim9: not enough type checking in Vim9 script.
Solution: Use same type checking as in a :def function.
|
|
|
|
|
| |
Problem: Vim9: memory leak in allocated types.
Solution: Free the type pointers.
|
|
|
|
|
| |
Problem: Vim9: cannot handle line break inside lambda.
Solution: Pass the compilation context through. (closes #6407, closes #6409)
|
|
|
|
|
| |
Problem: Warning for using int instead of size_t.
Solution: Change "len" argument to size_t. (Mike Williams)
|
|
|
|
|
| |
Problem: Vim9: no error for declaring buffer, window, etc. variable.
Solution: Give an error. Unify the error messages.
|
|
|
|
|
|
| |
Problem: Vim9: redefining a function uses a new index every time.
Solution: When redefining a function clear the contents and re-use the
index.
|
|
|
|
|
| |
Problem: Vim9: type is not checked when assigning to a script variable.
Solution: Check the type.
|
|
|
|
|
| |
Problem: Vim9: function type isn't set until compiled.
Solution: Set function type early.
|
|
|
|
|
|
| |
Problem: Vim9: using a discovery phase doesn't work well.
Solution: Remove the discovery phase, instead compile a function only when
it is used. Add :defcompile to compile def functions earlier.
|
|
|
|
|
| |
Problem: Vim9: cannot call a function declared later in Vim9 script.
Solution: Make two passes through the script file.
|
|
|
|
|
|
| |
Problem: Vim9: no support for closures.
Solution: Find variables in the outer function scope, so long as the scope
exists.
|
|
|
|
|
| |
Problem: Vim9: :unlet is not compiled.
Solution: Implement :unlet instruction and check for errors.
|
|
|
|
|
| |
Problem: Various memory leaks in Vim9 script code.
Solution: Fix the leaks. (Ozaki Kiichi, closes #5814)
|
|
|
|
|
| |
Problem: Vim9: import that redefines local variable does not fail.
Solution: Check for already defined symbols.
|
|
|
|
|
| |
Problem: Vim9: not all code tested.
Solution: Add a few more tests. fix using "b:" in literal dictionary.
|
|
|
|
|
| |
Problem: Cannot assign to an imported variable.
Solution: Make it work.
|
|
Problem: Maintaining a Vim9 branch separately is more work.
Solution: Merge the Vim9 script changes.
|