From 150b110e7aa40082b79238d721f817126677f459 Mon Sep 17 00:00:00 2001 From: Luke Drummond Date: Sun, 21 Nov 2021 23:44:43 +0000 Subject: [PATCH] Clarify some wording for compiler.first_supported_argument After a discussion implementing this for muon [1] and clarification on IRC on Meson's behaviour. [1] https://lists.sr.ht/~lattis/muon/patches/26722 --- docs/yaml/objects/compiler.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/yaml/objects/compiler.yaml b/docs/yaml/objects/compiler.yaml index 4cdeb5457..6f49ec526 100644 --- a/docs/yaml/objects/compiler.yaml +++ b/docs/yaml/objects/compiler.yaml @@ -486,8 +486,9 @@ methods: since: 0.43.0 varargs_inherit: compiler.has_multi_arguments description: | - Given a list of strings, returns the first argument that passes the - [[compiler.has_argument]] test or an empty array if none pass. + Given a list of strings, returns a single-element list containing the first + argument that passes the [[compiler.has_argument]] test or an empty array if + none pass. # Linker arguments