From ee8a8d511fb5c8d0cbad8a5979759ce853e8d767 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Tue, 5 Nov 2024 16:27:27 +0100 Subject: Use quote and quasi-quote to simplify some expressions --- CC/test/EXPRESSIONS | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'CC/test') diff --git a/CC/test/EXPRESSIONS b/CC/test/EXPRESSIONS index b42401b..18028f8 100644 --- a/CC/test/EXPRESSIONS +++ b/CC/test/EXPRESSIONS @@ -348,19 +348,16 @@ } ] , [ "artifacts" - , { "type": "map_union" + , { "type": "`" , "$1": - [ { "type": "singleton_map" - , "key": "pwd" - , "value": {"type": "BLOB", "data": "/summary"} - } - , {"type": "var", "name": "summary"} - , { "type": "singleton_map" - , "key": "work" - , "value": + { "pwd": + {"type": ",", "$1": {"type": "BLOB", "data": "/summary"}} + , "work": + { "type": "," + , "$1": {"type": "TREE", "$1": {"type": "var", "name": "attempts"}} } - ] + } } ] , [ "runfiles" -- cgit v1.2.3