neovim/test/unit
zeertzjq 8f69c5ed45
vim-patch:8.2.{0695,0725,0734,0753,0818,0819,0822} (#23075)
vim-patch:8.2.0695: Vim9: cannot define a function inside a function

Problem:    Vim9: cannot define a function inside a function.
Solution:   Initial support for :def inside :def.

04b1269783

vim-patch:8.2.0725: Vim9: cannot call a function declared later in Vim9 script

Problem:    Vim9: cannot call a function declared later in Vim9 script.
Solution:   Make two passes through the script file.

09689a0284

vim-patch:8.2.0734: Vim9: leaking memory when using :finish

Problem:    Vim9: leaking memory when using :finish.
Solution:   Do not check for next line in third pass.

04816717df

vim-patch:8.2.0753: Vim9: expressions are evaluated in the discovery phase

Problem:    Vim9: expressions are evaluated in the discovery phase.
Solution:   Bail out if an expression is not a constant.  Require a type for
            declared constants.

32e351179e

vim-patch:8.2.0818: Vim9: using a discovery phase doesn't work well

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.

822ba24743

vim-patch:8.2.0819: compiler warning for unused variable

Problem:    Compiler warning for unused variable.
Solution:   Remove the variable.

f40e51a880

vim-patch:8.2.0822: Vim9: code left over from discovery phase

Problem:    Vim9: code left over from discovery phase.
Solution:   Remove the dead code.

2eec37926d

Co-authored-by: Bram Moolenaar <Bram@vim.org>
2023-04-14 07:11:59 +08:00
..
api refactor(api): break out Vim script functions to its own file 2021-10-29 16:59:53 +02:00
charset vim-patch:9.0.1380: CTRL-X on 2**64 subtracts two (#22530) 2023-03-05 09:18:42 +08:00
eval vim-patch:8.2.{0695,0725,0734,0753,0818,0819,0822} (#23075) 2023-04-14 07:11:59 +08:00
fixtures refactor: remove use of reserved c++ keywords 2023-04-06 22:39:50 +02:00
os test: replace lfs with luv and vim.fs 2023-04-04 21:59:06 +02:00
viml feat: add support for global statusline 2022-03-18 00:21:41 +06:00
buffer_spec.lua feat(ui): add 'statuscolumn' option 2023-01-09 17:12:06 +00:00
fileio_spec.lua unittests: Check core dumps in after_each, like in functests 2017-03-11 23:23:49 +03:00
formatc.lua test/unit/formatc: Fix parsing of most recent viml_parser_highlight 2017-10-16 03:03:34 +03:00
garray_spec.lua chore: fix typos (#16816) 2022-01-04 11:07:40 -07:00
helpers.lua fix(test): fix C imports on macOS arm64 2023-04-03 10:27:14 +01:00
indent_spec.lua vim-patch:8.1.1966: some code in options.c fits better elsewhere (#19840) 2022-08-19 19:20:39 +08:00
keycodes_spec.lua refactor: rename keymap.{c,h} to keycodes.{c,h} (#18535) 2022-05-12 20:19:29 +08:00
marktree_spec.lua refactor(extmarks): use a more efficient representation 2022-01-15 22:08:12 +01:00
mbyte_spec.lua build/doc/CI: remove/update quickbuild references #11258 2019-10-19 18:04:08 -07:00
memory_spec.lua unittests: Check core dumps in after_each, like in functests 2017-03-11 23:23:49 +03:00
message_spec.lua refactor: remove char_u (#22829) 2023-04-02 16:11:42 +08:00
multiqueue_spec.lua unittests: Use more adequate names for some functions 2017-03-12 02:54:23 +03:00
optionstr_spec.lua vim-patch:8.1.2045: the option.c file is too big (#19854) 2022-08-20 17:26:44 +08:00
path_spec.lua test: replace lfs with luv and vim.fs 2023-04-04 21:59:06 +02:00
preload.lua test: replace lfs with luv and vim.fs 2023-04-04 21:59:06 +02:00
preprocess.lua test: replace lfs with luv and vim.fs 2023-04-04 21:59:06 +02:00
profile_spec.lua unittests: Do not import libnvim or headers in main process 2017-03-11 23:23:49 +03:00
rbuffer_spec.lua unittests: Use more adequate names for some functions 2017-03-12 02:54:23 +03:00
search_spec.lua vim-patch:9.0.1092: search error message doesn't show used pattern (#21518) 2022-12-24 07:55:03 +08:00
set.lua unittests: Move filtering cdefs to main process 2017-03-12 03:02:14 +03:00
strings_spec.lua refactor: move reverse_text to strings.c as it's a string operation 2022-05-20 16:11:54 +02:00
tempfile_spec.lua test: replace lfs with luv and vim.fs 2023-04-04 21:59:06 +02:00
testtest_spec.lua unittests: Collect traces 2017-04-01 12:25:10 +03:00
tui_spec.lua refactor(tests): run unittests using main nvim binary in interpreter mode 2023-01-31 19:28:26 +01:00
undo_spec.lua test: replace lfs with luv and vim.fs 2023-04-04 21:59:06 +02:00