File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21939,6 +21939,7 @@ item_copy(
2193921939#endif
2194021940 case VAR_STRING:
2194121941 case VAR_FUNC:
21942+ case VAR_SPECIAL:
2194221943 copy_tv(from, to);
2194321944 break;
2194421945 case VAR_LIST:
Original file line number Diff line number Diff line change @@ -1001,6 +1001,16 @@ func Test_type()
10011001 call assert_equal (v: none , eval (string (v: none )))
10021002 call assert_equal (v: null , eval (string (v: null )))
10031003
1004+ call assert_equal (v: false , copy (v: false ))
1005+ call assert_equal (v: true , copy (v: true ))
1006+ call assert_equal (v: none , copy (v: none ))
1007+ call assert_equal (v: null , copy (v: null ))
1008+
1009+ call assert_equal ([v: false ], deepcopy ([v: false ]))
1010+ call assert_equal ([v: true ], deepcopy ([v: true ]))
1011+ call assert_equal ([v: none ], deepcopy ([v: none ]))
1012+ call assert_equal ([v: null ], deepcopy ([v: null ]))
1013+
10041014 call assert_true (empty (v: false ))
10051015 call assert_false (empty (v: true ))
10061016 call assert_true (empty (v: null ))
Original file line number Diff line number Diff line change @@ -742,6 +742,8 @@ static char *(features[]) =
742742
743743static int included_patches [] =
744744{ /* Add new patch number below this line */
745+ /**/
746+ 1228 ,
745747/**/
746748 1227 ,
747749/**/
You can’t perform that action at this time.
0 commit comments