<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/src/nvim/testdir/test_lambda.vim, branch tmp</title>
<subtitle>Neovim fork with Rahm's personal hacks.</subtitle>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/'/>
<entry>
<title>vim-patch:8.1.0711: test files still use function!</title>
<updated>2022-02-06T21:34:20+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-02-06T21:34:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=fe621b4ac01c6865650794b8e986665be4fe0ae7'/>
<id>fe621b4ac01c6865650794b8e986665be4fe0ae7</id>
<content type='text'>
Problem:    Test files still use function!.
Solution:   Remove the exclamation mark.  Fix overwriting a function.
https://github.com/vim/vim/commit/1e1153600c0377472d62cc553173fe555ddcf5a7

Some of the changes were already applied previously.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Test files still use function!.
Solution:   Remove the exclamation mark.  Fix overwriting a function.
https://github.com/vim/vim/commit/1e1153600c0377472d62cc553173fe555ddcf5a7

Some of the changes were already applied previously.
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.1.2412: crash when evaluating expression with error (#17109)</title>
<updated>2022-01-31T00:12:44+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-01-31T00:12:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=62c8715ee9be95f9e0f5164dc9b39a04f4d60e8a'/>
<id>62c8715ee9be95f9e0f5164dc9b39a04f4d60e8a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(eval): cherry-pick emsg changes from v8.1.0736</title>
<updated>2021-08-12T16:16:33+00:00</updated>
<author>
<name>Sean Dewar</name>
<email>seandewar@users.noreply.github.com</email>
</author>
<published>2021-05-21T21:15:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=e0bdc9b89c336a15e77639eef1c9087808292f36'/>
<id>e0bdc9b89c336a15e77639eef1c9087808292f36</id>
<content type='text'>
v8.1.0736 made some changes for making some emsgs more specific.
Includes the change for Test_lambda_fails() in test_lambda.vim.
Adjust relevant functionaltests to expect the new emsgs.

This patch has been fully ported in my Blob port PR, but it hasn't been
merged yet, so just use what we need from it for now.

Required for v8.1.1821.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
v8.1.0736 made some changes for making some emsgs more specific.
Includes the change for Test_lambda_fails() in test_lambda.vim.
Adjust relevant functionaltests to expect the new emsgs.

This patch has been fully ported in my Blob port PR, but it hasn't been
merged yet, so just use what we need from it for now.

Required for v8.1.1821.
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.2.0499: calling a lambda is slower than evaluating a string</title>
<updated>2020-10-01T01:00:17+00:00</updated>
<author>
<name>Jan Edmund Lazo</name>
<email>jan.lazo@mail.utoronto.ca</email>
</author>
<published>2020-09-26T23:56:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=578b0b0b52ad036370a6678d1b66e5c61d5bd4e2'/>
<id>578b0b0b52ad036370a6678d1b66e5c61d5bd4e2</id>
<content type='text'>
Problem:    Calling a lambda is slower than evaluating a string.
Solution:   Make calling a lambda faster. (Ken Takata, closes vim/vim#5727)
https://github.com/vim/vim/commit/f10806b25090879fdc1a86cc0da2f4f34fd21921

Port "uf_flags" constants from patch 8.2.1054 to sync with Vim.
Port user_func_error() from patch 8.2.0149.
Port Test_lambda_scope() changes from patch 8.1.0736 so that it passes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Calling a lambda is slower than evaluating a string.
Solution:   Make calling a lambda faster. (Ken Takata, closes vim/vim#5727)
https://github.com/vim/vim/commit/f10806b25090879fdc1a86cc0da2f4f34fd21921

Port "uf_flags" constants from patch 8.2.1054 to sync with Vim.
Port user_func_error() from patch 8.2.0149.
Port Test_lambda_scope() changes from patch 8.1.0736 so that it passes.
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.1.1738: testing lambda with timer is slow (#10590)</title>
<updated>2019-07-24T17:47:41+00:00</updated>
<author>
<name>Daniel Hahler</name>
<email>git@thequod.de</email>
</author>
<published>2019-07-24T17:47:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=3566267e753996c441c220c8a109bb4f4b25225c'/>
<id>3566267e753996c441c220c8a109bb4f4b25225c</id>
<content type='text'>
Problem:    Testing lambda with timer is slow.
Solution:   Do not test timer accuracy, only that it works. (Daniel Hahler,
            closes vim/vim#4723)
https://github.com/vim/vim/commit/9bc4dde45d45df732953491d0f2c3fd3b10a627e</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Testing lambda with timer is slow.
Solution:   Do not test timer accuracy, only that it works. (Daniel Hahler,
            closes vim/vim#4723)
https://github.com/vim/vim/commit/9bc4dde45d45df732953491d0f2c3fd3b10a627e</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.1.0019: error when defining a Lambda with index of a function result</title>
<updated>2019-03-16T02:13:32+00:00</updated>
<author>
<name>Jan Edmund Lazo</name>
<email>jan.lazo@mail.utoronto.ca</email>
</author>
<published>2019-03-15T03:52:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=2ea6d3ab974aad74cdcbe12a15a7a65956cc6e33'/>
<id>2ea6d3ab974aad74cdcbe12a15a7a65956cc6e33</id>
<content type='text'>
Problem:    Error when defining a Lambda with index of a function result.
Solution:   When not evaluating an expression and skipping a function call,
            set the return value to VAR_UNKNOWN.
https://github.com/vim/vim/commit/b4518563c73460150344a57879bf5b22cb8b1c77
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Error when defining a Lambda with index of a function result.
Solution:   When not evaluating an expression and skipping a function call,
            set the return value to VAR_UNKNOWN.
https://github.com/vim/vim/commit/b4518563c73460150344a57879bf5b22cb8b1c77
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: load-adjust timer tests (oldtest)</title>
<updated>2019-01-17T14:59:23+00:00</updated>
<author>
<name>Marco Hinz</name>
<email>mh.codebro@gmail.com</email>
</author>
<published>2019-01-16T20:20:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=0afd452ef19ed08db8e74d72c0316bc40ac9c9bd'/>
<id>0afd452ef19ed08db8e74d72c0316bc40ac9c9bd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test: adjust time-sensitive tests</title>
<updated>2018-11-30T04:25:20+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2018-11-30T04:25:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=b0ebf61d37ccae3c480834d2ac1b5559e7e3d20d'/>
<id>b0ebf61d37ccae3c480834d2ac1b5559e7e3d20d</id>
<content type='text'>
    From test_alot.vim:
    Found errors in Test_lambda_with_timer():
    First run:
    function RunTheTest[35]..Test_lambda_with_timer line 19: Expected True but got 0
    Second run:
    function RunTheTest[35]..Test_lambda_with_timer line 19: Expected True but got 0

previously: #9220

- Timer tests are less reliable on Travis CI macOS 10.12/10.13.
  ref #6829
  ref e39dade80b02
  ref de13113dc16e
  ref https://github.com/neovim/neovim/pull/9095#issuecomment-429603452
  &gt; We don't guarantee that a X ms timer is triggered during Y ms sleep
  &gt; for any X&lt;Y, though I would expect the load to be really bad for this
  &gt; to happen with X=10ms, Y=40ms.
- Call test_garbagecollect_now(), as Vim does.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    From test_alot.vim:
    Found errors in Test_lambda_with_timer():
    First run:
    function RunTheTest[35]..Test_lambda_with_timer line 19: Expected True but got 0
    Second run:
    function RunTheTest[35]..Test_lambda_with_timer line 19: Expected True but got 0

previously: #9220

- Timer tests are less reliable on Travis CI macOS 10.12/10.13.
  ref #6829
  ref e39dade80b02
  ref de13113dc16e
  ref https://github.com/neovim/neovim/pull/9095#issuecomment-429603452
  &gt; We don't guarantee that a X ms timer is triggered during Y ms sleep
  &gt; for any X&lt;Y, though I would expect the load to be really bad for this
  &gt; to happen with X=10ms, Y=40ms.
- Call test_garbagecollect_now(), as Vim does.
</pre>
</div>
</content>
</entry>
<entry>
<title>test: adjust time-sensitive tests (#9220)</title>
<updated>2018-11-10T10:12:04+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2018-11-10T10:12:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=f8639dc99cb085432b14da086af316176152bc1f'/>
<id>f8639dc99cb085432b14da086af316176152bc1f</id>
<content type='text'>
- window_split_tab_spec.lua: Put cursor at bottom of :terminal buffer so
  that it follows output.
- inccommand_spec.lua: Increase timeout to allow 2nd retry.
- Timer tests are less reliable on Travis CI macOS 10.12/10.13.
  ref #6829
  ref e39dade80b02
  ref de13113dc16e
  ref https://github.com/neovim/neovim/pull/9095#issuecomment-429603452
  &gt; We don't guarantee that a X ms timer is triggered during Y ms sleep
  &gt; for any X&lt;Y, though I would expect the load to be really bad for this
  &gt; to happen with X=10ms, Y=40ms.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- window_split_tab_spec.lua: Put cursor at bottom of :terminal buffer so
  that it follows output.
- inccommand_spec.lua: Increase timeout to allow 2nd retry.
- Timer tests are less reliable on Travis CI macOS 10.12/10.13.
  ref #6829
  ref e39dade80b02
  ref de13113dc16e
  ref https://github.com/neovim/neovim/pull/9095#issuecomment-429603452
  &gt; We don't guarantee that a X ms timer is triggered during Y ms sleep
  &gt; for any X&lt;Y, though I would expect the load to be really bad for this
  &gt; to happen with X=10ms, Y=40ms.</pre>
</div>
</content>
</entry>
<entry>
<title>Allow lambdas to be used with jobs, timers and dictwatchers.</title>
<updated>2017-02-15T00:38:19+00:00</updated>
<author>
<name>Michael Ennen</name>
<email>mike.ennen@gmail.com</email>
</author>
<published>2016-12-20T03:09:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ef8701610baa18ecf2568990eab4ecf02ca8f6c1'/>
<id>ef8701610baa18ecf2568990eab4ecf02ca8f6c1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
