| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Vim9: argument to add() not checked for blob.
Solution: Add the BLOBAPPEND instruction.
|
|
|
|
|
| |
Problem: Vim9: add() does not check type of argument.
Solution: Inline the add() call. (closes #7160)
|
|
|
|
|
| |
Problem: Vim9: get error message when nothing is wrong.
Solution: Check called_emsg instead of did_emsg. (closes #7143)
|
|
|
|
|
|
| |
Problem: Vim9: crash when throwing exception for NULL string. (Dhiraj
Mishra)
Solution: Handle NULL string like empty string. (closes #7139)
|
|
|
|
|
| |
Problem: Vim9: cannot use a {} block at script level.
Solution: Recognize a {} block.
|
|
|
|
|
| |
Problem: Vim9: crash with invalid list constant. (Dhiraj Mishra)
Solution: Return FAIL when compiling the list fails. (closes #7066)
|
|
|
|
|
| |
Problem: Vim9: :let will soon be disallowed.
Solution: Add v:disallow_let temporarily. Fix tests.
|
|
|
|
|
|
| |
Problem: Vim9: using ":const!" is weird.
Solution: Use "var" - "final" - "const" like Dart. "let" still works for
now.
|
|
|
|
|
| |
Problem: Vim9: no error if comma is missing in between arguments.
Solution: Give an error message.
|
|
|
|
|
| |
Problem: Build failure due to missing error message.
Solution: Add error message.
|
|
|
|
|
| |
Problem: Inconsistent capitalization of error messages.
Solution: Always start with a capital.
|
|
|
|
|
|
| |
Problem: Vim9: list<any> is not accepted where list<number> is expected.
Solution: Add functions to allocate and free a type_T, use it in
ISN_CHECKTYPE. (closes #6959)
|
|
|
|
|
| |
Problem: Vim9: cannot declare a constant value.
Solution: Introduce ":const!".
|
|
|
|
|
| |
Problem: Vim9: no proper error for nested ":def!".
Solution: Check for "!". (closes #6920)
|
|
|
|
|
|
| |
Problem: Not checking the context of test_fails().
Solution: Add the line number and context arguments. Give error if
assert_fails() argument types are wrong.
|
|
|
|
|
| |
Problem: Memory acccess error when using setcellwidths().
Solution: Use array and pointers correctly.
|
|
|
|
|
| |
Problem: It is not possible to specify cell widths of characters.
Solution: Add setcellwidths().
|
|
|
|
|
| |
Problem: Vim9: no error when using a number other than 0 or 1 as bool.
Solution: Check the number is 0 or 1.
|
|
|
|
|
|
| |
Problem: Vim9: white space checks are only done for a :def function.
Solution: Also do checks at the script level. Adjust the name of a few
error messages.
|
|
|
|
|
| |
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: string slice not supported yet.
Solution: Add support for string slicing.
|
|
|
|
|
| |
Problem: Error messages are spread out.
Solution: Move more messages into errors.h.
|
|
Problem: Error messages are spread out and names can be confusing.
Solution: Start moving error messages to a separate file and use clear
names.
|