Mercurial > vim
view src/testdir/test65.ok @ 9686:8c2553beff0f v7.4.2119
commit https://github.com/vim/vim/commit/1e96d9bf98f9ab84d5af7f98d6a961d91b17364f
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 29 22:15:09 2016 +0200
patch 7.4.2119
Problem: Closures are not supported.
Solution: Capture variables in lambdas from the outer scope. (Yasuhiro
Matsumoto, Ken Takata)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 29 Jul 2016 22:30:08 +0200 |
parents | cd145cc2f2c9 |
children |
line wrap: on
line source
Results of test65: 123.456000 1.234560e+02 123.456 += 7.777 6.234 8.333 == 1 0 add-subtract 5.234 -6.766 mult-div 4.936 0.003241 dict {'x': 1.234, 'y': -2.0e20} list [-123.4, 2.0e-20] abs 1456 4 -1 14.56 54.32 ceil 2.0 -5.0 -4.0 floor 1.0 -6.0 4.0 log10 3.0 -2.0 pow 27.0 65536.0 round 0.0 5.0 -5.0 sqrt 10.0 str2float 1.0e40 trunc 1.0 -5.0 4.0 float2nr 123 -123 AND 127 16 0 OR 23 15 123 XOR 0 111 255 invert 65408 65519 65407 0