Mercurial > vim
view src/testdir/test68.ok @ 11418:162bcd0debd7 v8.0.0593
patch 8.0.0593: duplication of code for adding a list or dict return value
commit https://github.com/vim/vim/commit/45cf6e910c6d162775ca9d470fac4b6db844001f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 30 20:25:19 2017 +0200
patch 8.0.0593: duplication of code for adding a list or dict return value
Problem: Duplication of code for adding a list or dict return value.
Solution: Add rettv_dict_set() and rettv_list_set(). (Yegappan Lakshmanan)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 30 Apr 2017 20:30:04 +0200 |
parents | b9c1c1f4cda9 |
children |
line wrap: on
line source
Results of test68: { a b } { a b a b } { a a } { a b #a b a b #a b } { 1 a b # 1 a # b } { x a b_ c } { # 1 a # b } { # x a # b } { 1aa ^^2bb } /* abc def ghi jkl * mno pqr stu * vwx yz */ # 1 xxxxx # foobar