summaryrefslogtreecommitdiff
path: root/src/typval.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.4046: some error messages not in the right placev8.2.4046Bram Moolenaar2022-01-081-1/+1
| | | | | Problem: Some error messages not in the right place. Solution: Adjust the errors file. Fix typo.
* patch 8.2.4038: various code not used when features are disabledv8.2.4038Dominique Pelle2022-01-081-0/+4
| | | | | Problem: Various code not used when features are disabled. Solution: Add #ifdefs. (Dominique Pellé, closes #9491)
* patch 8.2.4012: error messages are spread outv8.2.4012Bram Moolenaar2022-01-051-14/+14
| | | | | Problem: Error messages are spread out. Solution: Move the last error messages to errors.h.
* patch 8.2.4010: error messages are spread outv8.2.4010Bram Moolenaar2022-01-051-1/+1
| | | | | Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
* patch 8.2.4008: error messages are spread outv8.2.4008Bram Moolenaar2022-01-051-1/+1
| | | | | Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
* patch 8.2.4005: error messages are spread outv8.2.4005Bram Moolenaar2022-01-041-10/+10
| | | | | Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
* patch 8.2.4003: error messages are spread outv8.2.4003Bram Moolenaar2022-01-041-1/+1
| | | | | Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
* patch 8.2.3985: error messages are spread outv8.2.3985Bram Moolenaar2022-01-021-1/+1
| | | | | Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
* patch 8.2.3971: build failsv8.2.3971Bram Moolenaar2022-01-011-1/+1
| | | | | Problem: Build fails. Solution: Use the right error message name.
* patch 8.2.3967: error messages are spread outv8.2.3967Bram Moolenaar2022-01-011-1/+1
| | | | | Problem: Error messages are spread out. Solution: Move more errors to errors.h.
* patch 8.2.3919: Vim9: wrong argument for append() results in two errorsv8.2.3919Bram Moolenaar2021-12-281-1/+3
| | | | | | Problem: Vim9: wrong argument for append() results in two errors. Solution: Check did_emsg. Also for setline(). Adjust the help for appendbufline().
* patch 8.2.3894: Vim9: no proper type check for first argument of call()v8.2.3894Bram Moolenaar2021-12-251-0/+17
| | | | | Problem: Vim9: no proper type check for first argument of call(). Solution: Add specific type check.
* patch 8.2.3877: function does not abort after a type error in comparev8.2.3877Bram Moolenaar2021-12-221-6/+29
| | | | | Problem: Function does not abort after a type error in compare Solution: Check getting number fails. (closes #9384)
* patch 8.2.3851: Vim9: overhead when comparing string, dict or functionv8.2.3851Bram Moolenaar2021-12-191-161/+269
| | | | | | Problem: Vim9: overhead when comparing string, dict or function. Solution: Call the intented compare function directly. Refactor to avoid duplicated code.
* patch 8.2.3848: cannot use reduce() for a stringv8.2.3848rbtnn2021-12-181-8/+19
| | | | | Problem: Cannot use reduce() for a string. Solution: Make reduce() work with a string. (Naruhiko Nishino, closes #9366)
* patch 8.2.3840: useless test for negative index in check functionsv8.2.3840rbtnn2021-12-171-72/+17
| | | | | | Problem: Useless test for negative index in check functions. Solution: Remove the test for negative index. (Naruhiko Nishino, closes #9364)
* patch 8.2.3830: error messages are spread outv8.2.3830Bram Moolenaar2021-12-161-4/+4
| | | | | Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
* patch 8.2.3822: leaking memory in map() and filter(), no string in Vim9v8.2.3822Bram Moolenaar2021-12-161-0/+22
| | | | | | | Problem: Leaking memory in map() and filter(), cannot use a string argument in Vim9 script. Solution: Fix the leak, adjust the argument check, also run the tests as Vim9 script. (Yegappan Lakshmanan, closes #9354)
* patch 8.2.3751: cannot assign a lambda to an option that takes a functionv8.2.3751Yegappan Lakshmanan2021-12-061-3/+3
| | | | | | Problem: Cannot assign a lambda to an option that takes a function. Solution: Automatically convert the lambda to a string. (Yegappan Lakshmanan, closes #9286)
* patch 8.2.3702: first key in dict is seen as curly expression and failsv8.2.3702Bram Moolenaar2021-11-301-1/+2
| | | | | Problem: First key in dict is seen as curly expression and fails. Solution: Ignore failure of curly expression. (closes #9247)
* patch 8.2.3438: cannot manipulate blobsv8.2.3438Yegappan Lakshmanan2021-09-141-0/+17
| | | | | | Problem: Cannot manipulate blobs. Solution: Add blob2list() and list2blob(). (Yegappan Lakshmanan, closes #8868)
* patch 8.2.3436: check for optional bool type has confusing return typev8.2.3436Bram Moolenaar2021-09-131-3/+5
| | | | | Problem: Check for optional bool type has confusing return type. Solution: Explicitly return OK.
* patch 8.2.3347: check for legacy script is incompletev8.2.3347Bram Moolenaar2021-08-151-1/+1
| | | | | | Problem: Check for legacy script is incomplete. (Naohiro Ono) Solution: Also check the :legacy modifier. Use for string concatenation with "." and others (issue #8756)
* patch 8.2.3329: v_lock not set when getting value of environment variablev8.2.3329Bram Moolenaar2021-08-111-0/+1
| | | | | Problem: v_lock not set when getting value of environment variable. Solution: Set v_lock to zero.
* patch 8.2.3318: Vim9: cannot ignore quotes in number at the command linev8.2.3318Bram Moolenaar2021-08-081-1/+1
| | | | | Problem: Vim9: cannot ignore quotes in number at the command line. Solution: Use in_vim9script() so that after ":vim9" quotes are ignored.
* patch 8.2.3315: cannot use single quote in a float number for readabilityv8.2.3315Bram Moolenaar2021-08-081-3/+17
| | | | | Problem: Cannot use single quote in a float number for readability. Solution: Support single quotes like in numbers. (closes #8713)
* patch 8.2.3258: error messages have the wrong textv8.2.3258Bram Moolenaar2021-07-311-3/+3
| | | | | Problem: Error messages have the wrong text. Solution: Adjust the error message.
* patch 8.2.3232: system() does not work without a second argumentv8.2.3232Yegappan Lakshmanan2021-07-281-0/+11
| | | | | | Problem: system() does not work without a second argument. Solution: Do not require a second argument. (Yegappan Lakshmanan, closes #8651, closes #8650)
* patch 8.2.3229: Vim9: runtime and compile time type checks are not the samev8.2.3229Yegappan Lakshmanan2021-07-271-10/+96
| | | | | | Problem: Vim9: runtime and compile time type checks are not the same. Solution: Add more runtime type checks for builtin functions. (Yegappan Lakshmanan, closes #8646)
* patch 8.2.3221: Vim9: argument types are not checked at compile timev8.2.3221Yegappan Lakshmanan2021-07-251-0/+27
| | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8632)
* patch 8.2.3211: Vim9: argument types are not checked at compile timev8.2.3211Yegappan Lakshmanan2021-07-241-0/+11
| | | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks. Fix type check for matchaddpos(). (Yegappan Lakshmanan, closes #8619)
* patch 8.2.3206: Vim9: argument types are not checked at compile timev8.2.3206Yegappan Lakshmanan2021-07-231-23/+41
| | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8611)
* patch 8.2.3194: Vim9: argument types are not checked at compile timev8.2.3194Yegappan Lakshmanan2021-07-211-33/+55
| | | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks, simplify some. (Yegappan Lakshmanan, closes #8598)
* patch 8.2.3188: Vim9: argument types are not checked at compile timev8.2.3188Yegappan Lakshmanan2021-07-201-0/+203
| | | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks, also at runtime. (Yegappan Lakshmanan, closes #8587)
* patch 8.2.3176: Vim9: no type error for comparing number with stringv8.2.3176Bram Moolenaar2021-07-181-2/+14
| | | | | Problem: Vim9: no type error for comparing number with string. Solution: Add a runtime type check. (closes #8571)
* patch 8.2.3173: Vim9: argument types are not checked at compile timev8.2.3173Yegappan Lakshmanan2021-07-171-3/+40
| | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add more type checks. (Yegappan Lakshmanan, closes #8581)
* patch 8.2.3162: Vim9: argument types are not checked at compile timev8.2.3162Yegappan Lakshmanan2021-07-151-0/+17
| | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add more type checks. (Yegappan Lakshmanan, closes #8560)
* patch 8.2.3135: Vim9: builtin function arguments not checked at compile timev8.2.3135Yegappan Lakshmanan2021-07-101-4/+21
| | | | | Problem: Vim9: builtin function arguments not checked at compile time. Solution: Add more type checks. (Yegappan Lakshmanan, closes #8539)
* patch 8.2.3069: error messages are spread outv8.2.3069Bram Moolenaar2021-06-271-1/+1
| | | | | Problem: Error messages are spread out. Solution: Move some error messages to errors.h. Use clearer names.
* patch 8.2.3007: Vim9: test for void value failsv8.2.3007Bram Moolenaar2021-06-151-1/+3
| | | | | Problem: Vim9: test for void value fails. Solution: Adjust expected error. Do not make a copy of void.
* patch 8.2.3005: Vim9: using a void value does not give a proper error messagev8.2.3005Bram Moolenaar2021-06-151-5/+11
| | | | | Problem: Vim9: using a void value does not give a proper error message. Solution: Give a clear error message. (clodes #8387)
* patch 8.2.2948: substitute() accepts a number but not a float expressionv8.2.2948Bram Moolenaar2021-06-061-2/+7
| | | | | Problem: Substitute() accepts a number but not a float expression. Solution: Also accept a float. (closes #8331)
* patch 8.2.2944: Vim9: no error when using job or channel as a stringv8.2.2944Bram Moolenaar2021-06-051-31/+9
| | | | | Problem: Vim9: no error when using job or channel as a string. Solution: Be more strict about conversion to string. (closes #8312)
* patch 8.2.2846: Vim9: "echo Func()" does not give an error for using voidv8.2.2846Bram Moolenaar2021-05-091-1/+2
| | | | | | Problem: Vim9: "echo Func()" does not give an error for a function without a return value. Solution: Give an error. Be more specific about why a value is invalid.
* patch 8.2.2844: Vim9: memory leak when using searchpair()v8.2.2844Bram Moolenaar2021-05-071-1/+4
| | | | | Problem: Vim9: memory leak when using searchpair(). Solution: Free the v_instr field.
* patch 8.2.2842: Vim9: skip argument to searchpair() is not compiledv8.2.2842Bram Moolenaar2021-05-071-0/+11
| | | | | Problem: Vim9: skip argument to searchpair() is not compiled. Solution: Add VAR_INSTR.
* patch 8.2.2752v8.2.2752Bram Moolenaar2021-04-101-4/+1
|
* patch 8.2.2671: error for line number in legacy scriptv8.2.2671Bram Moolenaar2021-03-281-1/+2
| | | | | Problem: Error for line number in legacy script. Solution: Check for number type.
* patch 8.2.2670: Vim9: error for append(0, text)v8.2.2670Bram Moolenaar2021-03-281-1/+1
| | | | | Problem: Vim9: error for append(0, text). Solution: Check for negative number. (closes #8022)
* patch 8.2.2664: Vim9: not enough function arguments checked for stringv8.2.2664Bram Moolenaar2021-03-271-10/+10
| | | | | Problem: Vim9: not enough function arguments checked for string. Solution: Check in balloon functions. Refactor function arguments.