Bram Moolenaar
ce2c5444e2
patch 8.2.2066: Vim9: assignment with += doesn't work
...
Problem: Vim9: assignment with += doesn't work.
Solution: Do not see the "+" as an addition operator.
2020-11-28 21:21:17 +01:00
Bram Moolenaar
dc234caff2
patch 8.2.2063: Vim9: only one level of indexing supported
...
Problem: Vim9: only one level of indexing supported.
Solution: Handle more than one index in an assignment.
2020-11-28 18:52:33 +01:00
Bram Moolenaar
fc74d03e76
patch 8.2.2000: Vim9: dict.key assignment not implemented yet
...
Problem: Vim9: dict.key assignment not implemented yet.
Solution: Implement dict.key assignment. (closes #7312 )
2020-11-16 22:11:49 +01:00
Bram Moolenaar
348be7ed07
patch 8.2.1949: Vim9: using extend() on null dict is silently ignored
...
Problem: Vim9: using extend() on null dict is silently ignored.
Solution: Give an error message. Initialize a dict variable with an empty
dictionary. (closes #7251 )
2020-11-04 11:36:35 +01:00
Bram Moolenaar
334a8b4bde
patch 8.2.1864: Vim9: no error for wrong list type
...
Problem: Vim9: no error for wrong list type.
Solution: Add flag to indicate a constant. (closes #7160 )
2020-10-19 16:07:42 +02:00
Bram Moolenaar
352134bbfb
patch 8.2.1859: Vim9: crash in unpack assignment
...
Problem: Vim9: crash in unpack assignment.
Solution: Make sure an error message is turned into an exception.
(closes #7159 )
2020-10-17 22:04:08 +02:00
Bram Moolenaar
218450ad5e
patch 8.2.1857: Vim9: using job_status() on an unused var gives an error
...
Problem: Vim9: using job_status() on an unused var gives an error.
Solution: Return "fail". (closes #7158 )
2020-10-17 18:51:52 +02:00
Bram Moolenaar
7a66a17190
patch 8.2.1853: "to_f" is recognized at "topleft" modifier
...
Problem: "to_f" is recognized at "topleft" modifier.
Solution: Do not recognize modifer when "_" follows. (closes #7019 )
2020-10-16 19:56:12 +02:00
Bram Moolenaar
fc8aa6d02d
patch 8.2.1839: Vim9: memory leaks reported in assign test
...
Problem: Vim9: memory leaks reported in assign test.
Solution: Move the failing job_start() call to separate test files, it
causes false leak reports.
2020-10-12 20:31:26 +02:00
Bram Moolenaar
1a73923705
patch 8.2.1821: Vim9: concatenating to a NULL list doesn't work
...
Problem: Vim9: concatenating to a NULL list doesn't work.
Solution: Handle a NULL list like an empty list. (closes #7064 )
2020-10-10 15:37:58 +02:00
Bram Moolenaar
2bb2658bef
patch 8.2.1795: Vim9: operators && and || have a confusing result
...
Problem: Vim9: operators && and || have a confusing result.
Solution: Make the result a boolean.
2020-10-03 22:52:39 +02:00
Bram Moolenaar
55759b5228
patch 8.2.1777: Vim9: some assignment tests in the wrong file
...
Problem: Vim9: some assignment tests in the wrong file.
Solution: Move assignment tests to test_vim9_assign.
2020-09-30 22:59:42 +02:00
Bram Moolenaar
7a9cbca00a
patch 8.2.1766: Vim9: Some tests are still using :let
...
Problem: Vim9: Some tests are still using :let.
Solution: Change the last few declarations to use :var.
2020-09-27 22:47:05 +02:00
Bram Moolenaar
9830938e77
patch 8.2.1765: Vim9: some tests use "var var"
...
Problem: Vim9: some tests use "var var".
Solution: Use "var name". (closes #7032 )
2020-09-27 21:58:45 +02:00
Bram Moolenaar
06f9c6940a
patch 8.2.1764: Vim9: no error when assigning to script var with wrong type
...
Problem: Vim9: no error when assigning to script var with wrong type.
Solution: Fix off-by-one error. (closes #7028 )
2020-09-27 21:27:40 +02:00
Bram Moolenaar
ac564082f1
patch 8.2.1761: Vim9: Some tests are still using :let
...
Problem: Vim9: Some tests are still using :let.
Solution: Change more declarations to use :var.
2020-09-27 19:05:33 +02:00
Bram Moolenaar
2914a20abc
patch 8.2.1760: Vim9: crash when end marker is missing
...
Problem: Vim9: crash when end marker is missing. (Dhiraj Mishra)
Solution: Check for end of function lines. (closes #7031 )
2020-09-27 18:24:03 +02:00
Bram Moolenaar
c0e29010f6
patch 8.2.1755: Vim9: crash when using invalid heredoc marker
...
Problem: Vim9: crash when using invalid heredoc marker. (Dhiraj Mishra)
Solution: Check for NULL list. (closes #7027 ) Fix comment character.
2020-09-27 14:22:48 +02:00
Bram Moolenaar
30fd8204ce
patch 8.2.1744: Vim9: using ":const!" is weird
...
Problem: Vim9: using ":const!" is weird.
Solution: Use "var" - "final" - "const" like Dart. "let" still works for
now.
2020-09-26 15:09:30 +02:00
Bram Moolenaar
81ed496048
patch 8.2.1731: Vim9: cannot use += to append to empty NULL list
...
Problem: Vim9: cannot use += to append to empty NULL list.
Solution: Copy the list instead of extending it. (closes #6998 )
2020-09-23 15:56:50 +02:00
Bram Moolenaar
04bdd573d0
patch 8.2.1730: Vim9: cannot use member of unknown type
...
Problem: Vim9: cannot use member of unknown type.
Solution: When type is unknown us "any". (closes #6997 )
2020-09-23 13:25:32 +02:00
Bram Moolenaar
971caf53b8
patch 8.2.1724: Vim9: assignment tests spread out
...
Problem: Vim9: assignment tests spread out.
Solution: Create new test file for assignment tests.
2020-09-21 22:21:42 +02:00