From a40b7da1ab4028bba53f9768b7a58a7c619a052d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Mon, 18 May 2026 20:34:43 +0200 Subject: Concatenation operator for lists Changelog: Added `++` operator to concatenate lists --- test/asset/list/concat.et | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/asset/list/concat.et') diff --git a/test/asset/list/concat.et b/test/asset/list/concat.et index 613df57..c669a78 100644 --- a/test/asset/list/concat.et +++ b/test/asset/list/concat.et @@ -28,3 +28,11 @@ test Test: local: shell on n: echo "c3-end" + + let c4 = list1 ++ list2 ++ [ 6, 5 ] ++ list2 + for i in c4: + shell on n: + echo "c4 $i" + local: + shell on n: + echo "c4-end" -- cgit v1.2.3