diff --git a/zcl/zclsyntax/expression.go b/zcl/zclsyntax/expression.go index 539004e..dcefbfe 100644 --- a/zcl/zclsyntax/expression.go +++ b/zcl/zclsyntax/expression.go @@ -129,6 +129,7 @@ func (e *FunctionCallExpr) Value(ctx *zcl.EvalContext) (cty.Value, zcl.Diagnosti } } + // FIXME: also need to look in ctx.parent, etc f, exists := ctx.Functions[e.Name] if !exists { avail := make([]string, 0, len(ctx.Functions))