From 1acb5b010507dd2246b77b8c856612b86cb2eda4 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 21 May 2026 15:02:53 +0900 Subject: internal/rosa: extra inputs in alternative path This works around particularly unwieldy build systems. Signed-off-by: Ophestra --- internal/rosa/azalea/evaluate.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'internal/rosa/azalea') diff --git a/internal/rosa/azalea/evaluate.go b/internal/rosa/azalea/evaluate.go index d57f5cac..3658ad6d 100644 --- a/internal/rosa/azalea/evaluate.go +++ b/internal/rosa/azalea/evaluate.go @@ -142,6 +142,8 @@ var ( IdentInputs = unique.Make(Ident("inputs")) // IdentRuntime has the same semantics as [IdentInputs]. IdentRuntime = unique.Make(Ident("runtime")) + // IdentExtra has the same semantics as [IdentInputs]. + IdentExtra = unique.Make(Ident("extra")) // IdentSource is a special argument in a package declaration where an // assignment of a [Val] with a single [Ident] passes through the evaluator. IdentSource = unique.Make(Ident("source")) @@ -291,6 +293,7 @@ func evaluateAny(d PF, s []Frame, expr, rp any) bool { for _, special := range [...]unique.Handle[Ident]{ IdentInputs, IdentRuntime, + IdentExtra, } { if slices.Contains(names, special) { if len(names) != 1 || len(arg.V) != 1 || arg.R { -- cgit v1.3.1