summaryrefslogtreecommitdiff
path: root/src/errors.h
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.1867: Vim9: argument to add() not checked for blobv8.2.1867Bram Moolenaar2020-10-191-0/+2
| | | | | Problem: Vim9: argument to add() not checked for blob. Solution: Add the BLOBAPPEND instruction.
* patch 8.2.1865: Vim9: add() does not check type of argumentv8.2.1865Bram Moolenaar2020-10-191-0/+2
| | | | | Problem: Vim9: add() does not check type of argument. Solution: Inline the add() call. (closes #7160)
* patch 8.2.1855: Vim9: get error message when nothing is wrongv8.2.1855Bram Moolenaar2020-10-161-1/+1
| | | | | Problem: Vim9: get error message when nothing is wrong. Solution: Check called_emsg instead of did_emsg. (closes #7143)
* patch 8.2.1854: Vim9: crash when throwing exception for NULL stringv8.2.1854Bram Moolenaar2020-10-161-0/+2
| | | | | | Problem: Vim9: crash when throwing exception for NULL string. (Dhiraj Mishra) Solution: Handle NULL string like empty string. (closes #7139)
* patch 8.2.1826: Vim9: cannot use a {} block at script levelv8.2.1826Bram Moolenaar2020-10-101-0/+2
| | | | | Problem: Vim9: cannot use a {} block at script level. Solution: Recognize a {} block.
* patch 8.2.1789: Vim9: crash with invalid list constantv8.2.1789Bram Moolenaar2020-10-031-0/+2
| | | | | Problem: Vim9: crash with invalid list constant. (Dhiraj Mishra) Solution: Return FAIL when compiling the list fails. (closes #7066)
* patch 8.2.1756: Vim9: :let will soon be disallowedv8.2.1756Bram Moolenaar2020-09-271-0/+2
| | | | | Problem: Vim9: :let will soon be disallowed. Solution: Add v:disallow_let temporarily. Fix tests.
* patch 8.2.1744: Vim9: using ":const!" is weirdv8.2.1744Bram Moolenaar2020-09-261-0/+4
| | | | | | Problem: Vim9: using ":const!" is weird. Solution: Use "var" - "final" - "const" like Dart. "let" still works for now.
* patch 8.2.1719: Vim9: no error if comma is missing in between argumentsv8.2.1719Bram Moolenaar2020-09-201-0/+2
| | | | | Problem: Vim9: no error if comma is missing in between arguments. Solution: Give an error message.
* patch 8.2.1699: build failure due to missing error messagev8.2.1699Bram Moolenaar2020-09-161-0/+2
| | | | | Problem: Build failure due to missing error message. Solution: Add error message.
* patch 8.2.1697: inconsistent capitalization of error messagesv8.2.1697Bram Moolenaar2020-09-161-36/+36
| | | | | Problem: Inconsistent capitalization of error messages. Solution: Always start with a capital.
* patch 8.2.1691: Vim9: list<any> is not accepted where list<number> is expectedv8.2.1691Bram Moolenaar2020-09-161-1/+1
| | | | | | 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)
* patch 8.2.1685: Vim9: cannot declare a constant valuev8.2.1685Bram Moolenaar2020-09-141-0/+8
| | | | | Problem: Vim9: cannot declare a constant value. Solution: Introduce ":const!".
* patch 8.2.1657: Vim9: no proper error for nested ":def!"v8.2.1657Bram Moolenaar2020-09-101-0/+2
| | | | | Problem: Vim9: no proper error for nested ":def!". Solution: Check for "!". (closes #6920)
* patch 8.2.1632: not checking the context of test_fails()v8.2.1632Bram Moolenaar2020-09-061-0/+6
| | | | | | 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.
* patch 8.2.1537: memory acccess error when using setcellwidths()v8.2.1537Bram Moolenaar2020-08-281-1/+1
| | | | | Problem: Memory acccess error when using setcellwidths(). Solution: Use array and pointers correctly.
* patch 8.2.1535: it is not possible to specify cell widths of charactersv8.2.1535Bram Moolenaar2020-08-281-0/+12
| | | | | Problem: It is not possible to specify cell widths of characters. Solution: Add setcellwidths().
* patch 8.2.1506: Vim9: no error when using a number other than 0 or 1 as boolv8.2.1506Bram Moolenaar2020-08-221-1/+2
| | | | | Problem: Vim9: no error when using a number other than 0 or 1 as bool. Solution: Check the number is 0 or 1.
* patch 8.2.1504: Vim9: white space checks are only done for a :def functionv8.2.1504Bram Moolenaar2020-08-211-6/+6
| | | | | | 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.
* patch 8.2.1466: Vim9: cannot index or slice a variable with type "any"v8.2.1466Bram Moolenaar2020-08-161-4/+9
| | | | | Problem: Vim9: cannot index or slice a variable with type "any". Solution: Add runtime index and slice.
* patch 8.2.1465: Vim9: subscript not handled properlyv8.2.1465Bram Moolenaar2020-08-161-2/+2
| | | | | | Problem: Vim9: subscript not handled properly. Solution: Adjust error message. Remove dead code. Disallow string to number conversion in scripts.
* patch 8.2.1462: Vim9: string slice not supported yetv8.2.1462Bram Moolenaar2020-08-151-1/+2
| | | | | Problem: Vim9: string slice not supported yet. Solution: Add support for string slicing.
* patch 8.2.1460: error messages are spread outv8.2.1460Bram Moolenaar2020-08-151-2/+200
| | | | | Problem: Error messages are spread out. Solution: Move more messages into errors.h.
* patch 8.2.1444: error messages are spread out and names can be confusingv8.2.1444Bram Moolenaar2020-08-131-0/+36
Problem: Error messages are spread out and names can be confusing. Solution: Start moving error messages to a separate file and use clear names.